public class PurchaseReservedCacheNodesOfferingRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a PurchaseReservedCacheNodesOffering action.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
cacheNodeCount
The number of cache node instances to reserve.
|
private java.lang.String |
reservedCacheNodeId
A customer-specified identifier to track this reservation.
|
private java.lang.String |
reservedCacheNodesOfferingId
The ID of the reserved cache node offering to purchase.
|
NOOP
Constructor and Description |
---|
PurchaseReservedCacheNodesOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedCacheNodesOfferingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCacheNodeCount()
The number of cache node instances to reserve.
|
java.lang.String |
getReservedCacheNodeId()
A 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 cache node instances to reserve.
|
void |
setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
A 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 cache node instances to reserve.
|
PurchaseReservedCacheNodesOfferingRequest |
withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
A customer-specified identifier to track this reservation.
|
PurchaseReservedCacheNodesOfferingRequest |
withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The ID of the reserved cache node offering to purchase.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String reservedCacheNodesOfferingId
The ID of the reserved cache node offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
private java.lang.String reservedCacheNodeId
A customer-specified identifier to track this reservation.
Note:
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
private java.lang.Integer cacheNodeCount
The number of cache node instances to reserve.
Default: 1
public PurchaseReservedCacheNodesOfferingRequest()
public void setReservedCacheNodesOfferingId(java.lang.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 java.lang.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(java.lang.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(java.lang.String reservedCacheNodeId)
A customer-specified identifier to track this reservation.
Note:
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.
Note:
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 java.lang.String getReservedCacheNodeId()
A customer-specified identifier to track this reservation.
Note:
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
Note:
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(java.lang.String reservedCacheNodeId)
A customer-specified identifier to track this reservation.
Note:
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.
Note:
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(java.lang.Integer cacheNodeCount)
The number of cache node instances to reserve.
Default: 1
cacheNodeCount
- The number of cache node instances to reserve.
Default: 1
public java.lang.Integer getCacheNodeCount()
The number of cache node instances to reserve.
Default: 1
Default: 1
public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(java.lang.Integer cacheNodeCount)
The number of cache node instances to reserve.
Default: 1
cacheNodeCount
- The number of cache node instances to reserve.
Default: 1
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PurchaseReservedCacheNodesOfferingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()