Class PurchaseReservedCacheNodesOfferingRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a PurchaseReservedCacheNodesOffering action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The number of cache node instances to reserve.A customer-specified identifier to track this reservation.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheNodeCount
(Integer cacheNodeCount) The number of cache node instances to reserve.withReservedCacheNodeId
(String reservedCacheNodeId) A customer-specified identifier to track this reservation.withReservedCacheNodesOfferingId
(String reservedCacheNodesOfferingId) The ID of the reserved cache node offering to purchase.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
PurchaseReservedCacheNodesOfferingRequest
public PurchaseReservedCacheNodesOfferingRequest()
-
-
Method Details
-
setReservedCacheNodesOfferingId
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
-
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
-
withReservedCacheNodesOfferingId
public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReservedCacheNodeId
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
- Parameters:
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
-
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
- Returns:
- 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
-
withReservedCacheNodeId
public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeCount
The number of cache node instances to reserve.
Default:
1
- Parameters:
cacheNodeCount
- The number of cache node instances to reserve.Default:
1
-
getCacheNodeCount
The number of cache node instances to reserve.
Default:
1
- Returns:
- The number of cache node instances to reserve.
Default:
1
-
withCacheNodeCount
The number of cache node instances to reserve.
Default:
1
- Parameters:
cacheNodeCount
- The number of cache node instances to reserve.Default:
1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-