|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.ReservedInstancesOffering
public class ReservedInstancesOffering
An active offer for Amazon EC2 Reserved Instances.
Constructor Summary | |
---|---|
ReservedInstancesOffering()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instances can be used. |
String |
getCurrencyCode()
The currency of the reserved instance. |
Long |
getDuration()
The duration of the Reserved Instance, in seconds. |
Float |
getFixedPrice()
The purchase price of the Reserved Instance. |
String |
getInstanceTenancy()
The tenancy of the reserved instance (ex: default or dedicated). |
String |
getInstanceType()
The instance type on which the Reserved Instances can be used. |
String |
getOfferingType()
The Reserved Instance offering type. |
String |
getProductDescription()
The Reserved Instances description (ex: Windows or Unix/Linux). |
List<RecurringCharge> |
getRecurringCharges()
The recurring charge tag assigned to the resource. |
String |
getReservedInstancesOfferingId()
The unique ID of this Reserved Instances offering. |
Float |
getUsagePrice()
The usage price of the Reserved Instance, per hour. |
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instances can be used. |
void |
setCurrencyCode(String currencyCode)
The currency of the reserved instance. |
void |
setDuration(Long duration)
The duration of the Reserved Instance, in seconds. |
void |
setFixedPrice(Float fixedPrice)
The purchase price of the Reserved Instance. |
void |
setInstanceTenancy(String instanceTenancy)
The tenancy of the reserved instance (ex: default or dedicated). |
void |
setInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instances can be used. |
void |
setInstanceType(String instanceType)
The instance type on which the Reserved Instances can be used. |
void |
setOfferingType(String offeringType)
The Reserved Instance offering type. |
void |
setProductDescription(String productDescription)
The Reserved Instances description (ex: Windows or Unix/Linux). |
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource. |
void |
setReservedInstancesOfferingId(String reservedInstancesOfferingId)
The unique ID of this Reserved Instances offering. |
void |
setUsagePrice(Float usagePrice)
The usage price of the Reserved Instance, per hour. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedInstancesOffering |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instances can be used. |
ReservedInstancesOffering |
withCurrencyCode(String currencyCode)
The currency of the reserved instance. |
ReservedInstancesOffering |
withDuration(Long duration)
The duration of the Reserved Instance, in seconds. |
ReservedInstancesOffering |
withFixedPrice(Float fixedPrice)
The purchase price of the Reserved Instance. |
ReservedInstancesOffering |
withInstanceTenancy(String instanceTenancy)
The tenancy of the reserved instance (ex: default or dedicated). |
ReservedInstancesOffering |
withInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instances can be used. |
ReservedInstancesOffering |
withInstanceType(String instanceType)
The instance type on which the Reserved Instances can be used. |
ReservedInstancesOffering |
withOfferingType(String offeringType)
The Reserved Instance offering type. |
ReservedInstancesOffering |
withProductDescription(String productDescription)
The Reserved Instances description (ex: Windows or Unix/Linux). |
ReservedInstancesOffering |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource. |
ReservedInstancesOffering |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring charge tag assigned to the resource. |
ReservedInstancesOffering |
withReservedInstancesOfferingId(String reservedInstancesOfferingId)
The unique ID of this Reserved Instances offering. |
ReservedInstancesOffering |
withUsagePrice(Float usagePrice)
The usage price of the Reserved Instance, per hour. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedInstancesOffering()
Method Detail |
---|
public String getReservedInstancesOfferingId()
public void setReservedInstancesOfferingId(String reservedInstancesOfferingId)
reservedInstancesOfferingId
- The unique ID of this Reserved Instances offering.public ReservedInstancesOffering withReservedInstancesOfferingId(String reservedInstancesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingId
- The unique ID of this Reserved Instances offering.
public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instances can be used.InstanceType
public ReservedInstancesOffering withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instances can be used.
InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instances can be used.InstanceType
public ReservedInstancesOffering withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instances can be used.
InstanceType
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone in which the Reserved Instances can be used.public ReservedInstancesOffering withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone in which the Reserved Instances can be used.
public Long getDuration()
public void setDuration(Long duration)
duration
- The duration of the Reserved Instance, in seconds.public ReservedInstancesOffering withDuration(Long duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The duration of the Reserved Instance, in seconds.
public Float getUsagePrice()
public void setUsagePrice(Float usagePrice)
usagePrice
- The usage price of the Reserved Instance, per hour.public ReservedInstancesOffering withUsagePrice(Float usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice
- The usage price of the Reserved Instance, per hour.
public Float getFixedPrice()
public void setFixedPrice(Float fixedPrice)
fixedPrice
- The purchase price of the Reserved Instance.public ReservedInstancesOffering withFixedPrice(Float fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice
- The purchase price of the Reserved Instance.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The Reserved Instances description (ex: Windows or Unix/Linux).public ReservedInstancesOffering withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- The Reserved Instances description (ex: Windows or Unix/Linux).
public String getInstanceTenancy()
public void setInstanceTenancy(String instanceTenancy)
instanceTenancy
- The tenancy of the reserved instance (ex: default or dedicated).public ReservedInstancesOffering withInstanceTenancy(String instanceTenancy)
Returns a reference to this object so that method calls can be chained together.
instanceTenancy
- The tenancy of the reserved instance (ex: default or dedicated).
public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode
- The currency of the reserved instance. Specified using ISO 4217
standard (e.g., USD, JPY).public ReservedInstancesOffering withCurrencyCode(String currencyCode)
Returns a reference to this object so that method calls can be chained together.
currencyCode
- The currency of the reserved instance. Specified using ISO 4217
standard (e.g., USD, JPY).
public String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The Reserved Instance offering type.public ReservedInstancesOffering withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The Reserved Instance offering type.
public List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
recurringCharges
- The recurring charge tag assigned to the resource.public ReservedInstancesOffering withRecurringCharges(RecurringCharge... recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The recurring charge tag assigned to the resource.
public ReservedInstancesOffering withRecurringCharges(Collection<RecurringCharge> recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The recurring charge tag assigned to the resource.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |