|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticache.model.ReservedCacheNode
public class ReservedCacheNode
This data type is used as a response element in the DescribeReservedCacheNodes and PurchaseReservedCacheNodesOffering actions.
Constructor Summary | |
---|---|
ReservedCacheNode()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getCacheNodeCount()
The number of reserved Cache Nodes. |
String |
getCacheNodeType()
The cache node type for the reserved Cache Node. |
Integer |
getDuration()
The duration of the reservation in seconds. |
Double |
getFixedPrice()
The fixed price charged for this reserved Cache Node. |
String |
getOfferingType()
The offering type of this reserved Cache Node. |
String |
getProductDescription()
The description of the reserved Cache Node. |
List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved Cache Node. |
String |
getReservedCacheNodeId()
The unique identifier for the reservation. |
String |
getReservedCacheNodesOfferingId()
The offering identifier. |
Date |
getStartTime()
The time the reservation started. |
String |
getState()
The state of the reserved Cache Node. |
Double |
getUsagePrice()
The hourly price charged for this reserved Cache Node. |
int |
hashCode()
|
void |
setCacheNodeCount(Integer cacheNodeCount)
The number of reserved Cache Nodes. |
void |
setCacheNodeType(String cacheNodeType)
The cache node type for the reserved Cache Node. |
void |
setDuration(Integer duration)
The duration of the reservation in seconds. |
void |
setFixedPrice(Double fixedPrice)
The fixed price charged for this reserved Cache Node. |
void |
setOfferingType(String offeringType)
The offering type of this reserved Cache Node. |
void |
setProductDescription(String productDescription)
The description of the reserved Cache Node. |
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node. |
void |
setReservedCacheNodeId(String reservedCacheNodeId)
The unique identifier for the reservation. |
void |
setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier. |
void |
setStartTime(Date startTime)
The time the reservation started. |
void |
setState(String state)
The state of the reserved Cache Node. |
void |
setUsagePrice(Double usagePrice)
The hourly price charged for this reserved Cache Node. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedCacheNode |
withCacheNodeCount(Integer cacheNodeCount)
The number of reserved Cache Nodes. |
ReservedCacheNode |
withCacheNodeType(String cacheNodeType)
The cache node type for the reserved Cache Node. |
ReservedCacheNode |
withDuration(Integer duration)
The duration of the reservation in seconds. |
ReservedCacheNode |
withFixedPrice(Double fixedPrice)
The fixed price charged for this reserved Cache Node. |
ReservedCacheNode |
withOfferingType(String offeringType)
The offering type of this reserved Cache Node. |
ReservedCacheNode |
withProductDescription(String productDescription)
The description of the reserved Cache Node. |
ReservedCacheNode |
withRecurringCharges(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(String reservedCacheNodeId)
The unique identifier for the reservation. |
ReservedCacheNode |
withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier. |
ReservedCacheNode |
withStartTime(Date startTime)
The time the reservation started. |
ReservedCacheNode |
withState(String state)
The state of the reserved Cache Node. |
ReservedCacheNode |
withUsagePrice(Double usagePrice)
The hourly price charged for this reserved Cache Node. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedCacheNode()
Method Detail |
---|
public String getReservedCacheNodeId()
public void setReservedCacheNodeId(String reservedCacheNodeId)
reservedCacheNodeId
- The unique identifier for the reservation.public ReservedCacheNode withReservedCacheNodeId(String reservedCacheNodeId)
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodeId
- The unique identifier for the reservation.
public String getReservedCacheNodesOfferingId()
public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
reservedCacheNodesOfferingId
- The offering identifier.public ReservedCacheNode withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodesOfferingId
- The offering identifier.
public String getCacheNodeType()
public void setCacheNodeType(String cacheNodeType)
cacheNodeType
- The cache node type for the reserved Cache Node.public ReservedCacheNode withCacheNodeType(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 Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time the reservation started.public ReservedCacheNode withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time the reservation started.
public Integer getDuration()
public void setDuration(Integer duration)
duration
- The duration of the reservation in seconds.public ReservedCacheNode withDuration(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 Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The fixed price charged for this reserved Cache Node.public ReservedCacheNode withFixedPrice(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 Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The hourly price charged for this reserved Cache Node.public ReservedCacheNode withUsagePrice(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 Integer getCacheNodeCount()
public void setCacheNodeCount(Integer cacheNodeCount)
cacheNodeCount
- The number of reserved Cache Nodes.public ReservedCacheNode withCacheNodeCount(Integer cacheNodeCount)
Returns a reference to this object so that method calls can be chained together.
cacheNodeCount
- The number of reserved Cache Nodes.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The description of the reserved Cache Node.public ReservedCacheNode withProductDescription(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 String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The offering type of this reserved Cache Node.public ReservedCacheNode withOfferingType(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 String getState()
public void setState(String state)
state
- The state of the reserved Cache Node.public ReservedCacheNode withState(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 List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(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(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 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 |