@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. 
 | 
List<Tag> | 
getTags()
 A list of tags to be added to this resource. 
 | 
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. 
 | 
void | 
setTags(Collection<Tag> tags)
 A list of tags to be added to this resource. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
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. 
 | 
PurchaseReservedCacheNodesOfferingRequest | 
withTags(Collection<Tag> tags)
 A list of tags to be added to this resource. 
 | 
PurchaseReservedCacheNodesOfferingRequest | 
withTags(Tag... tags)
 A list of tags to be added to this resource. 
 | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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 List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted.public PurchaseReservedCacheNodesOfferingRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted.public PurchaseReservedCacheNodesOfferingRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted.public String toString()
toString in class ObjectObject.toString()public PurchaseReservedCacheNodesOfferingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()