@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseReservedCacheNodesOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
 Represents the input of a PurchaseReservedCacheNodesOffering operation.
 
NOOP| Constructor and Description | 
|---|
| PurchaseReservedCacheNodesOfferingRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| PurchaseReservedCacheNodesOfferingRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| Integer | getCacheNodeCount()
 The number of cache node instances to reserve. | 
| String | getReservedCacheNodeId()
 A customer-specified identifier to track this reservation. | 
| String | getReservedCacheNodesOfferingId()
 The ID of the reserved cache node offering to purchase. | 
| int | hashCode() | 
| void | setCacheNodeCount(Integer cacheNodeCount)
 The number of cache node instances to reserve. | 
| void | setReservedCacheNodeId(String reservedCacheNodeId)
 A customer-specified identifier to track this reservation. | 
| void | setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
 The ID of the reserved cache node offering to purchase. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| PurchaseReservedCacheNodesOfferingRequest | withCacheNodeCount(Integer cacheNodeCount)
 The number of cache node instances to reserve. | 
| PurchaseReservedCacheNodesOfferingRequest | withReservedCacheNodeId(String reservedCacheNodeId)
 A customer-specified identifier to track this reservation. | 
| PurchaseReservedCacheNodesOfferingRequest | withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
 The ID of the reserved cache node offering to purchase. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic PurchaseReservedCacheNodesOfferingRequest()
public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The ID of the reserved cache node offering to purchase.
 Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
 
reservedCacheNodesOfferingId - The ID of the reserved cache node offering to purchase.
        
        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public String getReservedCacheNodesOfferingId()
The ID of the reserved cache node offering to purchase.
 Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
 
         Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The ID of the reserved cache node offering to purchase.
 Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
 
reservedCacheNodesOfferingId - The ID of the reserved cache node offering to purchase.
        
        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedCacheNodeId(String reservedCacheNodeId)
A customer-specified identifier to track this reservation.
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
reservedCacheNodeId - A customer-specified identifier to track this reservation. The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
public String getReservedCacheNodeId()
A customer-specified identifier to track this reservation.
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(String reservedCacheNodeId)
A customer-specified identifier to track this reservation.
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
reservedCacheNodeId - A customer-specified identifier to track this reservation. The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
public void setCacheNodeCount(Integer cacheNodeCount)
The number of cache node instances to reserve.
 Default: 1
 
cacheNodeCount - The number of cache node instances to reserve.
        
        Default: 1
public Integer getCacheNodeCount()
The number of cache node instances to reserve.
 Default: 1
 
         Default: 1
public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(Integer cacheNodeCount)
The number of cache node instances to reserve.
 Default: 1
 
cacheNodeCount - The number of cache node instances to reserve.
        
        Default: 1
public String toString()
toString in class ObjectObject.toString()public PurchaseReservedCacheNodesOfferingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.