public class ReservedInstancesOffering
extends java.lang.Object
implements java.io.Serializable
An active offer for Amazon EC2 Reserved Instances.
| コンストラクタと説明 |
|---|
ReservedInstancesOffering() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instances can be used.
|
java.lang.String |
getCurrencyCode()
The currency of the reserved instance.
|
java.lang.Long |
getDuration()
The duration of the Reserved Instance, in seconds.
|
java.lang.Float |
getFixedPrice()
The purchase price of the Reserved Instance.
|
java.lang.String |
getInstanceTenancy()
The tenancy of the reserved instance (ex: default or dedicated).
|
java.lang.String |
getInstanceType()
The instance type on which the Reserved Instances can be used.
|
java.lang.Boolean |
getMarketplace()
Returns the value of the Marketplace property for this object.
|
java.lang.String |
getOfferingType()
The Reserved Instance offering type.
|
java.util.List<PricingDetail> |
getPricingDetails()
Returns the value of the PricingDetails property for this object.
|
java.lang.String |
getProductDescription()
The Reserved Instances description (ex: Windows or Unix/Linux).
|
java.util.List<RecurringCharge> |
getRecurringCharges()
The recurring charge tag assigned to the resource.
|
java.lang.String |
getReservedInstancesOfferingId()
The unique ID of this Reserved Instances offering.
|
java.lang.Float |
getUsagePrice()
The usage price of the Reserved Instance, per hour.
|
int |
hashCode() |
java.lang.Boolean |
isMarketplace()
Returns the value of the Marketplace property for this object.
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instances can be used.
|
void |
setCurrencyCode(java.lang.String currencyCode)
The currency of the reserved instance.
|
void |
setDuration(java.lang.Long duration)
The duration of the Reserved Instance, in seconds.
|
void |
setFixedPrice(java.lang.Float fixedPrice)
The purchase price of the Reserved Instance.
|
void |
setInstanceTenancy(java.lang.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(java.lang.String instanceType)
The instance type on which the Reserved Instances can be used.
|
void |
setMarketplace(java.lang.Boolean marketplace)
Sets the value of the Marketplace property for this object.
|
void |
setOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.
|
void |
setPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
Sets the value of the PricingDetails property for this object.
|
void |
setProductDescription(java.lang.String productDescription)
The Reserved Instances description (ex: Windows or Unix/Linux).
|
void |
setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.
|
void |
setReservedInstancesOfferingId(java.lang.String reservedInstancesOfferingId)
The unique ID of this Reserved Instances offering.
|
void |
setUsagePrice(java.lang.Float usagePrice)
The usage price of the Reserved Instance, per hour.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedInstancesOffering |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instances can be used.
|
ReservedInstancesOffering |
withCurrencyCode(java.lang.String currencyCode)
The currency of the reserved instance.
|
ReservedInstancesOffering |
withDuration(java.lang.Long duration)
The duration of the Reserved Instance, in seconds.
|
ReservedInstancesOffering |
withFixedPrice(java.lang.Float fixedPrice)
The purchase price of the Reserved Instance.
|
ReservedInstancesOffering |
withInstanceTenancy(java.lang.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(java.lang.String instanceType)
The instance type on which the Reserved Instances can be used.
|
ReservedInstancesOffering |
withMarketplace(java.lang.Boolean marketplace)
Sets the value of the Marketplace property for this object.
|
ReservedInstancesOffering |
withOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.
|
ReservedInstancesOffering |
withPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
Sets the value of the PricingDetails property for this object.
|
ReservedInstancesOffering |
withPricingDetails(PricingDetail... pricingDetails)
Sets the value of the PricingDetails property for this object.
|
ReservedInstancesOffering |
withProductDescription(java.lang.String productDescription)
The Reserved Instances description (ex: Windows or Unix/Linux).
|
ReservedInstancesOffering |
withRecurringCharges(java.util.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(java.lang.String reservedInstancesOfferingId)
The unique ID of this Reserved Instances offering.
|
ReservedInstancesOffering |
withUsagePrice(java.lang.Float usagePrice)
The usage price of the Reserved Instance, per hour.
|
public java.lang.String getReservedInstancesOfferingId()
public void setReservedInstancesOfferingId(java.lang.String reservedInstancesOfferingId)
reservedInstancesOfferingId - The unique ID of this Reserved Instances offering.public ReservedInstancesOffering withReservedInstancesOfferingId(java.lang.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 java.lang.String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
InstanceTypepublic void setInstanceType(java.lang.String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instances can be used.InstanceTypepublic ReservedInstancesOffering withInstanceType(java.lang.String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instances can be used.InstanceTypepublic void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instances can be used.InstanceTypepublic 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.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instances can be used.InstanceTypepublic java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The Availability Zone in which the Reserved Instances can be used.public ReservedInstancesOffering withAvailabilityZone(java.lang.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 java.lang.Long getDuration()
public void setDuration(java.lang.Long duration)
duration - The duration of the Reserved Instance, in seconds.public ReservedInstancesOffering withDuration(java.lang.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 java.lang.Float getUsagePrice()
public void setUsagePrice(java.lang.Float usagePrice)
usagePrice - The usage price of the Reserved Instance, per hour.public ReservedInstancesOffering withUsagePrice(java.lang.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 java.lang.Float getFixedPrice()
public void setFixedPrice(java.lang.Float fixedPrice)
fixedPrice - The purchase price of the Reserved Instance.public ReservedInstancesOffering withFixedPrice(java.lang.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 java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription - The Reserved Instances description (ex: Windows or Unix/Linux).public ReservedInstancesOffering withProductDescription(java.lang.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 java.lang.String getInstanceTenancy()
public void setInstanceTenancy(java.lang.String instanceTenancy)
instanceTenancy - The tenancy of the reserved instance (ex: default or dedicated).public ReservedInstancesOffering withInstanceTenancy(java.lang.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 java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode - The currency of the reserved instance. Specified using ISO 4217
standard (e.g., USD, JPY).public ReservedInstancesOffering withCurrencyCode(java.lang.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 java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType - The Reserved Instance offering type.public ReservedInstancesOffering withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType - The Reserved Instance offering type.public java.util.List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(java.util.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(java.util.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 java.lang.Boolean isMarketplace()
public void setMarketplace(java.lang.Boolean marketplace)
marketplace - The new value for the Marketplace property for this object.public ReservedInstancesOffering withMarketplace(java.lang.Boolean marketplace)
Returns a reference to this object so that method calls can be chained together.
marketplace - The new value for the Marketplace property for this object.public java.lang.Boolean getMarketplace()
public java.util.List<PricingDetail> getPricingDetails()
public void setPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
pricingDetails - The new value for the PricingDetails property for this object.public ReservedInstancesOffering withPricingDetails(PricingDetail... pricingDetails)
Returns a reference to this object so that method calls can be chained together.
pricingDetails - The new value for the PricingDetails property for this object.public ReservedInstancesOffering withPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
Returns a reference to this object so that method calls can be chained together.
pricingDetails - The new value for the PricingDetails property for this object.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object