Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class ReservedCacheNodesOffering

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.ReservedCacheNodesOffering
All Implemented Interfaces:
Serializable

public class ReservedCacheNodesOffering
extends Object
implements Serializable

This data type is used as a response element in the DescribeReservedCacheNodesOfferings action.

See Also:
Serialized Form

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

ReservedCacheNodesOffering

public ReservedCacheNodesOffering()
Method Detail

getReservedCacheNodesOfferingId

public String getReservedCacheNodesOfferingId()
The offering identifier.

Returns:
The offering identifier.

setReservedCacheNodesOfferingId

public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier.

Parameters:
reservedCacheNodesOfferingId - The offering identifier.

withReservedCacheNodesOfferingId

public ReservedCacheNodesOffering withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedCacheNodesOfferingId - The offering identifier.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeType

public String getCacheNodeType()
The Cache Node type for the reserved Cache Node.

Returns:
The Cache Node type for the reserved Cache Node.

setCacheNodeType

public void setCacheNodeType(String cacheNodeType)
The Cache Node type for the reserved Cache Node.

Parameters:
cacheNodeType - The Cache Node type for the reserved Cache Node.

withCacheNodeType

public ReservedCacheNodesOffering withCacheNodeType(String cacheNodeType)
The Cache Node type for the reserved Cache Node.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheNodeType - The Cache Node type for the reserved Cache Node.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public Integer getDuration()
The duration of the offering in seconds.

Returns:
The duration of the offering in seconds.

setDuration

public void setDuration(Integer duration)
The duration of the offering in seconds.

Parameters:
duration - The duration of the offering in seconds.

withDuration

public ReservedCacheNodesOffering withDuration(Integer duration)
The duration of the offering in seconds.

Returns a reference to this object so that method calls can be chained together.

Parameters:
duration - The duration of the offering in seconds.
Returns:
A reference to this updated object so that method calls can be chained together.

getFixedPrice

public Double getFixedPrice()
The fixed price charged for this offering.

Returns:
The fixed price charged for this offering.

setFixedPrice

public void setFixedPrice(Double fixedPrice)
The fixed price charged for this offering.

Parameters:
fixedPrice - The fixed price charged for this offering.

withFixedPrice

public ReservedCacheNodesOffering withFixedPrice(Double fixedPrice)
The fixed price charged for this offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
fixedPrice - The fixed price charged for this offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getUsagePrice

public Double getUsagePrice()
The hourly price charged for this offering.

Returns:
The hourly price charged for this offering.

setUsagePrice

public void setUsagePrice(Double usagePrice)
The hourly price charged for this offering.

Parameters:
usagePrice - The hourly price charged for this offering.

withUsagePrice

public ReservedCacheNodesOffering withUsagePrice(Double usagePrice)
The hourly price charged for this offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
usagePrice - The hourly price charged for this offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductDescription

public String getProductDescription()
The cache engine used by the offering.

Returns:
The cache engine used by the offering.

setProductDescription

public void setProductDescription(String productDescription)
The cache engine used by the offering.

Parameters:
productDescription - The cache engine used by the offering.

withProductDescription

public ReservedCacheNodesOffering withProductDescription(String productDescription)
The cache engine used by the offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
productDescription - The cache engine used by the offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getOfferingType

public String getOfferingType()
The offering type.

Returns:
The offering type.

setOfferingType

public void setOfferingType(String offeringType)
The offering type.

Parameters:
offeringType - The offering type.

withOfferingType

public ReservedCacheNodesOffering withOfferingType(String offeringType)
The offering type.

Returns a reference to this object so that method calls can be chained together.

Parameters:
offeringType - The offering type.
Returns:
A reference to this updated object so that method calls can be chained together.

getRecurringCharges

public List<RecurringCharge> getRecurringCharges()
The recurring price charged to run this reserved Cache Node.

Returns:
The recurring price charged to run this reserved Cache Node.

setRecurringCharges

public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node.

Parameters:
recurringCharges - The recurring price charged to run this reserved Cache Node.

withRecurringCharges

public ReservedCacheNodesOffering withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved Cache Node.

Returns a reference to this object so that method calls can be chained together.

Parameters:
recurringCharges - The recurring price charged to run this reserved Cache Node.
Returns:
A reference to this updated object so that method calls can be chained together.

withRecurringCharges

public ReservedCacheNodesOffering withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved Cache Node.

Returns a reference to this object so that method calls can be chained together.

Parameters:
recurringCharges - The recurring price charged to run this reserved Cache Node.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.