public class ReservedCacheNode
extends java.lang.Object
implements java.io.Serializable
This data type is used as a response element in the DescribeReservedCacheNodes and PurchaseReservedCacheNodesOffering actions.
| コンストラクタと説明 |
|---|
ReservedCacheNode() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCacheNodeCount()
The number of reserved Cache Nodes.
|
java.lang.String |
getCacheNodeType()
The cache node type for the reserved Cache Node.
|
java.lang.Integer |
getDuration()
The duration of the reservation in seconds.
|
java.lang.Double |
getFixedPrice()
The fixed price charged for this reserved Cache Node.
|
java.lang.String |
getOfferingType()
The offering type of this reserved Cache Node.
|
java.lang.String |
getProductDescription()
The description of the reserved Cache Node.
|
java.util.List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved Cache Node.
|
java.lang.String |
getReservedCacheNodeId()
The unique identifier for the reservation.
|
java.lang.String |
getReservedCacheNodesOfferingId()
The offering identifier.
|
java.util.Date |
getStartTime()
The time the reservation started.
|
java.lang.String |
getState()
The state of the reserved Cache Node.
|
java.lang.Double |
getUsagePrice()
The hourly price charged for this reserved Cache Node.
|
int |
hashCode() |
void |
setCacheNodeCount(java.lang.Integer cacheNodeCount)
The number of reserved Cache Nodes.
|
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 reservation in seconds.
|
void |
setFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this reserved Cache Node.
|
void |
setOfferingType(java.lang.String offeringType)
The offering type of this reserved Cache Node.
|
void |
setProductDescription(java.lang.String productDescription)
The description of the reserved Cache Node.
|
void |
setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node.
|
void |
setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
The unique identifier for the reservation.
|
void |
setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The offering identifier.
|
void |
setStartTime(java.util.Date startTime)
The time the reservation started.
|
void |
setState(java.lang.String state)
The state of the reserved Cache Node.
|
void |
setUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this reserved Cache Node.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedCacheNode |
withCacheNodeCount(java.lang.Integer cacheNodeCount)
The number of reserved Cache Nodes.
|
ReservedCacheNode |
withCacheNodeType(java.lang.String cacheNodeType)
The cache node type for the reserved Cache Node.
|
ReservedCacheNode |
withDuration(java.lang.Integer duration)
The duration of the reservation in seconds.
|
ReservedCacheNode |
withFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this reserved Cache Node.
|
ReservedCacheNode |
withOfferingType(java.lang.String offeringType)
The offering type of this reserved Cache Node.
|
ReservedCacheNode |
withProductDescription(java.lang.String productDescription)
The description of the reserved Cache Node.
|
ReservedCacheNode |
withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node.
|
ReservedCacheNode |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved Cache Node.
|
ReservedCacheNode |
withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
The unique identifier for the reservation.
|
ReservedCacheNode |
withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The offering identifier.
|
ReservedCacheNode |
withStartTime(java.util.Date startTime)
The time the reservation started.
|
ReservedCacheNode |
withState(java.lang.String state)
The state of the reserved Cache Node.
|
ReservedCacheNode |
withUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this reserved Cache Node.
|
public java.lang.String getReservedCacheNodeId()
public void setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
reservedCacheNodeId - The unique identifier for the reservation.public ReservedCacheNode withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodeId - The unique identifier for the reservation.public java.lang.String getReservedCacheNodesOfferingId()
public void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
reservedCacheNodesOfferingId - The offering identifier.public ReservedCacheNode 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 ReservedCacheNode 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.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - The time the reservation started.public ReservedCacheNode withStartTime(java.util.Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime - The time the reservation started.public java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration - The duration of the reservation in seconds.public ReservedCacheNode withDuration(java.lang.Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration - The duration of the reservation in seconds.public java.lang.Double getFixedPrice()
public void setFixedPrice(java.lang.Double fixedPrice)
fixedPrice - The fixed price charged for this reserved Cache Node.public ReservedCacheNode 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 reserved Cache Node.public java.lang.Double getUsagePrice()
public void setUsagePrice(java.lang.Double usagePrice)
usagePrice - The hourly price charged for this reserved Cache Node.public ReservedCacheNode 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 reserved Cache Node.public java.lang.Integer getCacheNodeCount()
public void setCacheNodeCount(java.lang.Integer cacheNodeCount)
cacheNodeCount - The number of reserved Cache Nodes.public ReservedCacheNode withCacheNodeCount(java.lang.Integer cacheNodeCount)
Returns a reference to this object so that method calls can be chained together.
cacheNodeCount - The number of reserved Cache Nodes.public java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription - The description of the reserved Cache Node.public ReservedCacheNode withProductDescription(java.lang.String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription - The description of the reserved Cache Node.public java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType - The offering type of this reserved Cache Node.public ReservedCacheNode withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType - The offering type of this reserved Cache Node.public java.lang.String getState()
public void setState(java.lang.String state)
state - The state of the reserved Cache Node.public ReservedCacheNode withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
state - The state of the reserved Cache Node.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 ReservedCacheNode 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 ReservedCacheNode 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