Class: Humidifier::EC2::NetworkInterface
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EC2::NetworkInterface resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#group_set ⇒ Object
returns the GroupSet property.
-
#group_set=(value) ⇒ Object
sets the GroupSet property (List).
-
#interface_type ⇒ Object
returns the InterfaceType property.
-
#interface_type=(value) ⇒ Object
sets the InterfaceType property (String).
-
#ipv6_address_count ⇒ Object
returns the Ipv6AddressCount property.
-
#ipv6_address_count=(value) ⇒ Object
sets the Ipv6AddressCount property (Integer).
-
#ipv6_addresses ⇒ Object
returns the Ipv6Addresses property.
-
#ipv6_addresses=(value) ⇒ Object
sets the Ipv6Addresses property (List).
-
#private_ip_address ⇒ Object
returns the PrivateIpAddress property.
-
#private_ip_address=(value) ⇒ Object
sets the PrivateIpAddress property (String).
-
#private_ip_addresses ⇒ Object
returns the PrivateIpAddresses property.
-
#private_ip_addresses=(value) ⇒ Object
sets the PrivateIpAddresses property (List).
-
#secondary_private_ip_address_count ⇒ Object
returns the SecondaryPrivateIpAddressCount property.
-
#secondary_private_ip_address_count=(value) ⇒ Object
sets the SecondaryPrivateIpAddressCount property (Integer).
-
#source_dest_check ⇒ Object
returns the SourceDestCheck property.
-
#source_dest_check=(value) ⇒ Object
sets the SourceDestCheck property (Boolean).
-
#subnet_id ⇒ Object
returns the SubnetId property.
-
#subnet_id=(value) ⇒ Object
sets the SubnetId property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
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
#description ⇒ Object
returns the Description property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def description properties['description'] end |
#description=(value) ⇒ Object
sets the Description property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def description=(value) update_property('description', value) end |
#group_set ⇒ Object
returns the GroupSet property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def group_set properties['group_set'] end |
#group_set=(value) ⇒ Object
sets the GroupSet property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def group_set=(value) update_property('group_set', value) end |
#interface_type ⇒ Object
returns the InterfaceType property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def interface_type properties['interface_type'] end |
#interface_type=(value) ⇒ Object
sets the InterfaceType property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def interface_type=(value) update_property('interface_type', value) end |
#ipv6_address_count ⇒ Object
returns the Ipv6AddressCount property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def ipv6_address_count properties['ipv6_address_count'] end |
#ipv6_address_count=(value) ⇒ Object
sets the Ipv6AddressCount property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def ipv6_address_count=(value) update_property('ipv6_address_count', value) end |
#ipv6_addresses ⇒ Object
returns the Ipv6Addresses property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def ipv6_addresses properties['ipv6_addresses'] end |
#ipv6_addresses=(value) ⇒ Object
sets the Ipv6Addresses property (List)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def ipv6_addresses=(value) update_property('ipv6_addresses', value) end |
#private_ip_address ⇒ Object
returns the PrivateIpAddress property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def private_ip_address properties['private_ip_address'] end |
#private_ip_address=(value) ⇒ Object
sets the PrivateIpAddress property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def private_ip_address=(value) update_property('private_ip_address', value) end |
#private_ip_addresses ⇒ Object
returns the PrivateIpAddresses property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def private_ip_addresses properties['private_ip_addresses'] end |
#private_ip_addresses=(value) ⇒ Object
sets the PrivateIpAddresses property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def private_ip_addresses=(value) update_property('private_ip_addresses', value) end |
#secondary_private_ip_address_count ⇒ Object
returns the SecondaryPrivateIpAddressCount property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def secondary_private_ip_address_count properties['secondary_private_ip_address_count'] end |
#secondary_private_ip_address_count=(value) ⇒ Object
sets the SecondaryPrivateIpAddressCount property (Integer)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def secondary_private_ip_address_count=(value) update_property('secondary_private_ip_address_count', value) end |
#source_dest_check ⇒ Object
returns the SourceDestCheck property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def source_dest_check properties['source_dest_check'] end |
#source_dest_check=(value) ⇒ Object
sets the SourceDestCheck property (Boolean)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def source_dest_check=(value) update_property('source_dest_check', value) end |
#subnet_id ⇒ Object
returns the SubnetId property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def subnet_id properties['subnet_id'] end |
#subnet_id=(value) ⇒ Object
sets the SubnetId property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def subnet_id=(value) update_property('subnet_id', value) end |
#tags ⇒ Object
returns the Tags property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def (value) update_property('tags', value) end |