public class ReservedCacheNodesOffering
extends java.lang.Object
implements java.io.Serializable
This data type is used as a response element in the DescribeReservedCacheNodesOfferings action.
| コンストラクタと説明 |
|---|
ReservedCacheNodesOffering() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheNodeType()
The Cache Node type for the reserved Cache Node.
|
java.lang.Integer |
getDuration()
The duration of the offering in seconds.
|
java.lang.Double |
getFixedPrice()
The fixed price charged for this offering.
|
java.lang.String |
getOfferingType()
The offering type.
|
java.lang.String |
getProductDescription()
The cache engine used by the offering.
|
java.util.List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved Cache Node.
|
java.lang.String |
getReservedCacheNodesOfferingId()
The offering identifier.
|
java.lang.Double |
getUsagePrice()
The hourly price charged for this offering.
|
int |
hashCode() |
void |
setCacheNodeType(java.lang.String cacheNodeType)
The Cache Node type for the reserved Cache Node.
|
void |
setDuration(java.lang.Integer duration)
The duration of the offering in seconds.
|
void |
setFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this offering.
|
void |
setOfferingType(java.lang.String offeringType)
The offering type.
|
void |
setProductDescription(java.lang.String productDescription)
The cache engine used by the offering.
|
void |
setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node.
|
void |
setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The offering identifier.
|
void |
setUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this offering.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedCacheNodesOffering |
withCacheNodeType(java.lang.String cacheNodeType)
The Cache Node type for the reserved Cache Node.
|
ReservedCacheNodesOffering |
withDuration(java.lang.Integer duration)
The duration of the offering in seconds.
|
ReservedCacheNodesOffering |
withFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this offering.
|
ReservedCacheNodesOffering |
withOfferingType(java.lang.String offeringType)
The offering type.
|
ReservedCacheNodesOffering |
withProductDescription(java.lang.String productDescription)
The cache engine used by the offering.
|
ReservedCacheNodesOffering |
withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node.
|
ReservedCacheNodesOffering |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved Cache Node.
|
ReservedCacheNodesOffering |
withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The offering identifier.
|
ReservedCacheNodesOffering |
withUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this offering.
|
public java.lang.String getReservedCacheNodesOfferingId()
public void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
reservedCacheNodesOfferingId - The offering identifier.public ReservedCacheNodesOffering withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodesOfferingId - The offering identifier.public java.lang.String getCacheNodeType()
public void setCacheNodeType(java.lang.String cacheNodeType)
cacheNodeType - The Cache Node type for the reserved Cache Node.public ReservedCacheNodesOffering withCacheNodeType(java.lang.String cacheNodeType)
Returns a reference to this object so that method calls can be chained together.
cacheNodeType - The Cache Node type for the reserved Cache Node.public java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration - The duration of the offering in seconds.public ReservedCacheNodesOffering withDuration(java.lang.Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration - The duration of the offering in seconds.public java.lang.Double getFixedPrice()
public void setFixedPrice(java.lang.Double fixedPrice)
fixedPrice - The fixed price charged for this offering.public ReservedCacheNodesOffering withFixedPrice(java.lang.Double fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice - The fixed price charged for this offering.public java.lang.Double getUsagePrice()
public void setUsagePrice(java.lang.Double usagePrice)
usagePrice - The hourly price charged for this offering.public ReservedCacheNodesOffering withUsagePrice(java.lang.Double usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice - The hourly price charged for this offering.public java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription - The cache engine used by the offering.public ReservedCacheNodesOffering withProductDescription(java.lang.String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription - The cache engine used by the offering.public java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType - The offering type.public ReservedCacheNodesOffering withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType - The offering type.public java.util.List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
recurringCharges - The recurring price charged to run this reserved Cache Node.public ReservedCacheNodesOffering withRecurringCharges(RecurringCharge... recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges - The recurring price charged to run this reserved Cache Node.public ReservedCacheNodesOffering withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges - The recurring price charged to run this reserved Cache Node.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