Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class PurchaseReservedCacheNodesOfferingRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.PurchaseReservedCacheNodesOfferingRequest

public class PurchaseReservedCacheNodesOfferingRequest
extends AmazonWebServiceRequest

Container for the parameters to the PurchaseReservedCacheNodesOffering operation.

Purchases a reserved Cache Node offering.

See Also:
AmazonElastiCache.purchaseReservedCacheNodesOffering(PurchaseReservedCacheNodesOfferingRequest)

Constructor Summary
PurchaseReservedCacheNodesOfferingRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getCacheNodeCount()
          The number of instances to reserve.
 java.lang.String getReservedCacheNodeId()
          Customer-specified identifier to track this reservation.
 java.lang.String getReservedCacheNodesOfferingId()
          The ID of the Reserved Cache Node offering to purchase.
 int hashCode()
           
 void setCacheNodeCount(java.lang.Integer cacheNodeCount)
          The number of instances to reserve.
 void setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
          Customer-specified identifier to track this reservation.
 void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
          The ID of the Reserved Cache Node offering to purchase.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(java.lang.Integer cacheNodeCount)
          The number of instances to reserve.
 PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
          Customer-specified identifier to track this reservation.
 PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
          The ID of the Reserved Cache Node offering to purchase.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PurchaseReservedCacheNodesOfferingRequest

public PurchaseReservedCacheNodesOfferingRequest()
Method Detail

getReservedCacheNodesOfferingId

public java.lang.String getReservedCacheNodesOfferingId()
The ID of the Reserved Cache Node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Returns:
The ID of the Reserved Cache Node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706


setReservedCacheNodesOfferingId

public void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The ID of the Reserved Cache Node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Parameters:
reservedCacheNodesOfferingId - The ID of the Reserved Cache Node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706


withReservedCacheNodesOfferingId

public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The ID of the Reserved Cache Node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

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

Parameters:
reservedCacheNodesOfferingId - The ID of the Reserved Cache Node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Returns:
A reference to this updated object so that method calls can be chained together.

getReservedCacheNodeId

public java.lang.String getReservedCacheNodeId()
Customer-specified identifier to track this reservation.

Example: myreservationID

Returns:
Customer-specified identifier to track this reservation.

Example: myreservationID


setReservedCacheNodeId

public void setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
Customer-specified identifier to track this reservation.

Example: myreservationID

Parameters:
reservedCacheNodeId - Customer-specified identifier to track this reservation.

Example: myreservationID


withReservedCacheNodeId

public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
Customer-specified identifier to track this reservation.

Example: myreservationID

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

Parameters:
reservedCacheNodeId - Customer-specified identifier to track this reservation.

Example: myreservationID

Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeCount

public java.lang.Integer getCacheNodeCount()
The number of instances to reserve.

Default: 1

Returns:
The number of instances to reserve.

Default: 1


setCacheNodeCount

public void setCacheNodeCount(java.lang.Integer cacheNodeCount)
The number of instances to reserve.

Default: 1

Parameters:
cacheNodeCount - The number of instances to reserve.

Default: 1


withCacheNodeCount

public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(java.lang.Integer cacheNodeCount)
The number of instances to reserve.

Default: 1

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

Parameters:
cacheNodeCount - The number of instances to reserve.

Default: 1

Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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