Class: Humidifier::EC2::CapacityReservationFleet
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EC2::CapacityReservationFleet resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#allocation_strategy ⇒ Object
returns the AllocationStrategy property.
-
#allocation_strategy=(value) ⇒ Object
sets the AllocationStrategy property (String).
-
#end_date ⇒ Object
returns the EndDate property.
-
#end_date=(value) ⇒ Object
sets the EndDate property (String).
-
#instance_match_criteria ⇒ Object
returns the InstanceMatchCriteria property.
-
#instance_match_criteria=(value) ⇒ Object
sets the InstanceMatchCriteria property (String).
-
#instance_type_specifications ⇒ Object
returns the InstanceTypeSpecifications property.
-
#instance_type_specifications=(value) ⇒ Object
sets the InstanceTypeSpecifications property (List).
-
#no_remove_end_date ⇒ Object
returns the NoRemoveEndDate property.
-
#no_remove_end_date=(value) ⇒ Object
sets the NoRemoveEndDate property (Boolean).
-
#remove_end_date ⇒ Object
returns the RemoveEndDate property.
-
#remove_end_date=(value) ⇒ Object
sets the RemoveEndDate property (Boolean).
-
#tag_specifications ⇒ Object
returns the TagSpecifications property.
-
#tag_specifications=(value) ⇒ Object
sets the TagSpecifications property (List).
-
#tenancy ⇒ Object
returns the Tenancy property.
-
#tenancy=(value) ⇒ Object
sets the Tenancy property (String).
-
#total_target_capacity ⇒ Object
returns the TotalTargetCapacity property.
-
#total_target_capacity=(value) ⇒ Object
sets the TotalTargetCapacity property (Integer).
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
#allocation_strategy ⇒ Object
returns the AllocationStrategy property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def allocation_strategy properties['allocation_strategy'] end |
#allocation_strategy=(value) ⇒ Object
sets the AllocationStrategy property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def allocation_strategy=(value) update_property('allocation_strategy', value) end |
#end_date ⇒ Object
returns the EndDate property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def end_date properties['end_date'] end |
#end_date=(value) ⇒ Object
sets the EndDate property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def end_date=(value) update_property('end_date', value) end |
#instance_match_criteria ⇒ Object
returns the InstanceMatchCriteria property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def instance_match_criteria properties['instance_match_criteria'] end |
#instance_match_criteria=(value) ⇒ Object
sets the InstanceMatchCriteria property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def instance_match_criteria=(value) update_property('instance_match_criteria', value) end |
#instance_type_specifications ⇒ Object
returns the InstanceTypeSpecifications property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def instance_type_specifications properties['instance_type_specifications'] end |
#instance_type_specifications=(value) ⇒ Object
sets the InstanceTypeSpecifications property (List)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def instance_type_specifications=(value) update_property('instance_type_specifications', value) end |
#no_remove_end_date ⇒ Object
returns the NoRemoveEndDate property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def no_remove_end_date properties['no_remove_end_date'] end |
#no_remove_end_date=(value) ⇒ Object
sets the NoRemoveEndDate property (Boolean)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def no_remove_end_date=(value) update_property('no_remove_end_date', value) end |
#remove_end_date ⇒ Object
returns the RemoveEndDate property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def remove_end_date properties['remove_end_date'] end |
#remove_end_date=(value) ⇒ Object
sets the RemoveEndDate property (Boolean)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def remove_end_date=(value) update_property('remove_end_date', value) end |
#tag_specifications ⇒ Object
returns the TagSpecifications property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def tag_specifications properties['tag_specifications'] end |
#tag_specifications=(value) ⇒ Object
sets the TagSpecifications property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def tag_specifications=(value) update_property('tag_specifications', value) end |
#tenancy ⇒ Object
returns the Tenancy property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def tenancy properties['tenancy'] end |
#tenancy=(value) ⇒ Object
sets the Tenancy property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def tenancy=(value) update_property('tenancy', value) end |
#total_target_capacity ⇒ Object
returns the TotalTargetCapacity property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def total_target_capacity properties['total_target_capacity'] end |
#total_target_capacity=(value) ⇒ Object
sets the TotalTargetCapacity property (Integer)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def total_target_capacity=(value) update_property('total_target_capacity', value) end |