Class: Humidifier::CE::AnomalySubscription
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::CE::AnomalySubscription resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#frequency ⇒ Object
returns the Frequency property.
-
#frequency=(value) ⇒ Object
sets the Frequency property (String).
-
#monitor_arn_list ⇒ Object
returns the MonitorArnList property.
-
#monitor_arn_list=(value) ⇒ Object
sets the MonitorArnList property (List).
-
#resource_tags ⇒ Object
returns the ResourceTags property.
-
#resource_tags=(value) ⇒ Object
sets the ResourceTags property (List).
-
#subscribers ⇒ Object
returns the Subscribers property.
-
#subscribers=(value) ⇒ Object
sets the Subscribers property (List).
-
#subscription_name ⇒ Object
returns the SubscriptionName property.
-
#subscription_name=(value) ⇒ Object
sets the SubscriptionName property (String).
-
#threshold ⇒ Object
returns the Threshold property.
-
#threshold=(value) ⇒ Object
sets the Threshold property (Double).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#frequency ⇒ Object
returns the Frequency property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def frequency properties['frequency'] end |
#frequency=(value) ⇒ Object
sets the Frequency property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def frequency=(value) update_property('frequency', value) end |
#monitor_arn_list ⇒ Object
returns the MonitorArnList property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def monitor_arn_list properties['monitor_arn_list'] end |
#monitor_arn_list=(value) ⇒ Object
sets the MonitorArnList property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def monitor_arn_list=(value) update_property('monitor_arn_list', value) end |
#resource_tags ⇒ Object
returns the ResourceTags property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def properties['resource_tags'] end |
#resource_tags=(value) ⇒ Object
sets the ResourceTags property (List)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def (value) update_property('resource_tags', value) end |
#subscribers ⇒ Object
returns the Subscribers property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def subscribers properties['subscribers'] end |
#subscribers=(value) ⇒ Object
sets the Subscribers property (List)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def subscribers=(value) update_property('subscribers', value) end |
#subscription_name ⇒ Object
returns the SubscriptionName property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def subscription_name properties['subscription_name'] end |
#subscription_name=(value) ⇒ Object
sets the SubscriptionName property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def subscription_name=(value) update_property('subscription_name', value) end |
#threshold ⇒ Object
returns the Threshold property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def threshold properties['threshold'] end |
#threshold=(value) ⇒ Object
sets the Threshold property (Double)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def threshold=(value) update_property('threshold', value) end |