Class: Humidifier::EMR::InstanceFleetConfig
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EMR::InstanceFleetConfig resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#cluster_id ⇒ Object
returns the ClusterId property.
-
#cluster_id=(value) ⇒ Object
sets the ClusterId property (String).
-
#instance_fleet_type ⇒ Object
returns the InstanceFleetType property.
-
#instance_fleet_type=(value) ⇒ Object
sets the InstanceFleetType property (String).
-
#instance_type_configs ⇒ Object
returns the InstanceTypeConfigs property.
-
#instance_type_configs=(value) ⇒ Object
sets the InstanceTypeConfigs property (List).
-
#launch_specifications ⇒ Object
returns the LaunchSpecifications property.
-
#launch_specifications=(value) ⇒ Object
sets the LaunchSpecifications property (Structure).
-
#name ⇒ Object
returns the Name property.
-
#name=(value) ⇒ Object
sets the Name property (String).
-
#target_on_demand_capacity ⇒ Object
returns the TargetOnDemandCapacity property.
-
#target_on_demand_capacity=(value) ⇒ Object
sets the TargetOnDemandCapacity property (Integer).
-
#target_spot_capacity ⇒ Object
returns the TargetSpotCapacity property.
-
#target_spot_capacity=(value) ⇒ Object
sets the TargetSpotCapacity 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
#cluster_id ⇒ Object
returns the ClusterId property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def cluster_id properties['cluster_id'] end |
#cluster_id=(value) ⇒ Object
sets the ClusterId property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def cluster_id=(value) update_property('cluster_id', value) end |
#instance_fleet_type ⇒ Object
returns the InstanceFleetType property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def instance_fleet_type properties['instance_fleet_type'] end |
#instance_fleet_type=(value) ⇒ Object
sets the InstanceFleetType property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def instance_fleet_type=(value) update_property('instance_fleet_type', value) end |
#instance_type_configs ⇒ Object
returns the InstanceTypeConfigs property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def instance_type_configs properties['instance_type_configs'] end |
#instance_type_configs=(value) ⇒ Object
sets the InstanceTypeConfigs property (List)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def instance_type_configs=(value) update_property('instance_type_configs', value) end |
#launch_specifications ⇒ Object
returns the LaunchSpecifications property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def launch_specifications properties['launch_specifications'] end |
#launch_specifications=(value) ⇒ Object
sets the LaunchSpecifications property (Structure)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def launch_specifications=(value) update_property('launch_specifications', value) end |
#name ⇒ Object
returns the Name property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def name properties['name'] end |
#name=(value) ⇒ Object
sets the Name property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def name=(value) update_property('name', value) end |
#target_on_demand_capacity ⇒ Object
returns the TargetOnDemandCapacity property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def target_on_demand_capacity properties['target_on_demand_capacity'] end |
#target_on_demand_capacity=(value) ⇒ Object
sets the TargetOnDemandCapacity property (Integer)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def target_on_demand_capacity=(value) update_property('target_on_demand_capacity', value) end |
#target_spot_capacity ⇒ Object
returns the TargetSpotCapacity property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def target_spot_capacity properties['target_spot_capacity'] end |
#target_spot_capacity=(value) ⇒ Object
sets the TargetSpotCapacity property (Integer)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def target_spot_capacity=(value) update_property('target_spot_capacity', value) end |