Class: Humidifier::Lightsail::Instance
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Lightsail::Instance resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#add_ons ⇒ Object
returns the AddOns property.
-
#add_ons=(value) ⇒ Object
sets the AddOns property (List).
-
#availability_zone ⇒ Object
returns the AvailabilityZone property.
-
#availability_zone=(value) ⇒ Object
sets the AvailabilityZone property (String).
-
#blueprint_id ⇒ Object
returns the BlueprintId property.
-
#blueprint_id=(value) ⇒ Object
sets the BlueprintId property (String).
-
#bundle_id ⇒ Object
returns the BundleId property.
-
#bundle_id=(value) ⇒ Object
sets the BundleId property (String).
-
#hardware ⇒ Object
returns the Hardware property.
-
#hardware=(value) ⇒ Object
sets the Hardware property (Structure).
-
#instance_name ⇒ Object
returns the InstanceName property.
-
#instance_name=(value) ⇒ Object
sets the InstanceName property (String).
-
#key_pair_name ⇒ Object
returns the KeyPairName property.
-
#key_pair_name=(value) ⇒ Object
sets the KeyPairName property (String).
-
#networking ⇒ Object
returns the Networking property.
-
#networking=(value) ⇒ Object
sets the Networking property (Structure).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#user_data ⇒ Object
returns the UserData property.
-
#user_data=(value) ⇒ Object
sets the UserData property (String).
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
#add_ons ⇒ Object
returns the AddOns property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def add_ons properties['add_ons'] end |
#add_ons=(value) ⇒ Object
sets the AddOns property (List)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def add_ons=(value) update_property('add_ons', value) end |
#availability_zone ⇒ Object
returns the AvailabilityZone property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def availability_zone properties['availability_zone'] end |
#availability_zone=(value) ⇒ Object
sets the AvailabilityZone property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def availability_zone=(value) update_property('availability_zone', value) end |
#blueprint_id ⇒ Object
returns the BlueprintId property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def blueprint_id properties['blueprint_id'] end |
#blueprint_id=(value) ⇒ Object
sets the BlueprintId property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def blueprint_id=(value) update_property('blueprint_id', value) end |
#bundle_id ⇒ Object
returns the BundleId property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def bundle_id properties['bundle_id'] end |
#bundle_id=(value) ⇒ Object
sets the BundleId property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def bundle_id=(value) update_property('bundle_id', value) end |
#hardware ⇒ Object
returns the Hardware property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def hardware properties['hardware'] end |
#hardware=(value) ⇒ Object
sets the Hardware property (Structure)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def hardware=(value) update_property('hardware', value) end |
#instance_name ⇒ Object
returns the InstanceName property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def instance_name properties['instance_name'] end |
#instance_name=(value) ⇒ Object
sets the InstanceName property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def instance_name=(value) update_property('instance_name', value) end |
#key_pair_name ⇒ Object
returns the KeyPairName property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def key_pair_name properties['key_pair_name'] end |
#key_pair_name=(value) ⇒ Object
sets the KeyPairName property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def key_pair_name=(value) update_property('key_pair_name', value) end |
#networking ⇒ Object
returns the Networking property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def networking properties['networking'] end |
#networking=(value) ⇒ Object
sets the Networking property (Structure)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def networking=(value) update_property('networking', value) end |
#tags ⇒ Object
returns the Tags property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def (value) update_property('tags', value) end |
#user_data ⇒ Object
returns the UserData property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def user_data properties['user_data'] end |
#user_data=(value) ⇒ Object
sets the UserData property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def user_data=(value) update_property('user_data', value) end |