|
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.ReservedCacheNodesOffering
public class ReservedCacheNodesOffering
This data type is used as a response element in the DescribeReservedCacheNodesOfferings action.
Constructor Summary | |
---|---|
ReservedCacheNodesOffering()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheNodeType()
The Cache Node type for the reserved Cache Node. |
Integer |
getDuration()
The duration of the offering in seconds. |
Double |
getFixedPrice()
The fixed price charged for this offering. |
String |
getOfferingType()
The offering type. |
String |
getProductDescription()
The cache engine used by the offering. |
List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved Cache Node. |
String |
getReservedCacheNodesOfferingId()
The offering identifier. |
Double |
getUsagePrice()
The hourly price charged for this offering. |
int |
hashCode()
|
void |
setCacheNodeType(String cacheNodeType)
The Cache Node type for the reserved Cache Node. |
void |
setDuration(Integer duration)
The duration of the offering in seconds. |
void |
setFixedPrice(Double fixedPrice)
The fixed price charged for this offering. |
void |
setOfferingType(String offeringType)
The offering type. |
void |
setProductDescription(String productDescription)
The cache engine used by the offering. |
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node. |
void |
setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier. |
void |
setUsagePrice(Double usagePrice)
The hourly price charged for this offering. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedCacheNodesOffering |
withCacheNodeType(String cacheNodeType)
The Cache Node type for the reserved Cache Node. |
ReservedCacheNodesOffering |
withDuration(Integer duration)
The duration of the offering in seconds. |
ReservedCacheNodesOffering |
withFixedPrice(Double fixedPrice)
The fixed price charged for this offering. |
ReservedCacheNodesOffering |
withOfferingType(String offeringType)
The offering type. |
ReservedCacheNodesOffering |
withProductDescription(String productDescription)
The cache engine used by the offering. |
ReservedCacheNodesOffering |
withRecurringCharges(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(String reservedCacheNodesOfferingId)
The offering identifier. |
ReservedCacheNodesOffering |
withUsagePrice(Double usagePrice)
The hourly price charged for this offering. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedCacheNodesOffering()
Method Detail |
---|
public String getReservedCacheNodesOfferingId()
public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
reservedCacheNodesOfferingId
- The offering identifier.public ReservedCacheNodesOffering 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 ReservedCacheNodesOffering 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 Integer getDuration()
public void setDuration(Integer duration)
duration
- The duration of the offering in seconds.public ReservedCacheNodesOffering withDuration(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 Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The fixed price charged for this offering.public ReservedCacheNodesOffering withFixedPrice(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 Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The hourly price charged for this offering.public ReservedCacheNodesOffering withUsagePrice(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 String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The cache engine used by the offering.public ReservedCacheNodesOffering withProductDescription(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 String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The offering type.public ReservedCacheNodesOffering withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The offering type.
public List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(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(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 |