Class: Awsum::Ec2::ReservedInstancesOffering
- Defined in:
- lib/awsum/ec2/reserved_instances_offering.rb
Instance Attribute Summary collapse
-
#availability_zone ⇒ Object
readonly
Returns the value of attribute availability_zone.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#fixed_price ⇒ Object
readonly
Returns the value of attribute fixed_price.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#instance_type ⇒ Object
readonly
Returns the value of attribute instance_type.
-
#product_description ⇒ Object
readonly
Returns the value of attribute product_description.
-
#usage_price ⇒ Object
readonly
Returns the value of attribute usage_price.
Instance Method Summary collapse
-
#initialize(ec2, id, instance_type, availability_zone, duration, fixed_price, usage_price, product_description) ⇒ ReservedInstancesOffering
constructor
A new instance of ReservedInstancesOffering.
Constructor Details
#initialize(ec2, id, instance_type, availability_zone, duration, fixed_price, usage_price, product_description) ⇒ ReservedInstancesOffering
Returns a new instance of ReservedInstancesOffering.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 8 def initialize(ec2, id, instance_type, availability_zone, duration, fixed_price, usage_price, product_description) @ec2 = ec2 @id = id @instance_type = instance_type @availability_zone = availability_zone @duration = duration @fixed_price = fixed_price @usage_price = usage_price @product_description = product_description end |
Instance Attribute Details
#availability_zone ⇒ Object (readonly)
Returns the value of attribute availability_zone.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def availability_zone @availability_zone end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def duration @duration end |
#fixed_price ⇒ Object (readonly)
Returns the value of attribute fixed_price.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def fixed_price @fixed_price end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def id @id end |
#instance_type ⇒ Object (readonly)
Returns the value of attribute instance_type.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def instance_type @instance_type end |
#product_description ⇒ Object (readonly)
Returns the value of attribute product_description.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def product_description @product_description end |
#usage_price ⇒ Object (readonly)
Returns the value of attribute usage_price.
6 7 8 |
# File 'lib/awsum/ec2/reserved_instances_offering.rb', line 6 def usage_price @usage_price end |