Class PurchaseReservedCacheNodesOfferingRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.PurchaseReservedCacheNodesOfferingRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PurchaseReservedCacheNodesOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a PurchaseReservedCacheNodesOffering action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PurchaseReservedCacheNodesOfferingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurchaseReservedCacheNodesOfferingRequest
clone()
Creates a shallow clone of this request.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.-
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
-
-
-
-
Method Detail
-
setReservedCacheNodesOfferingId
public void setReservedCacheNodesOfferingId(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
-
getReservedCacheNodesOfferingId
public 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
-
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
public void setReservedCacheNodeId(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
-
getReservedCacheNodeId
public 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
- 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
public void setCacheNodeCount(Integer cacheNodeCount)
The number of cache node instances to reserve.
Default:
1
- Parameters:
cacheNodeCount
- The number of cache node instances to reserve.Default:
1
-
getCacheNodeCount
public Integer getCacheNodeCount()
The number of cache node instances to reserve.
Default:
1
- Returns:
- The number of cache node instances to reserve.
Default:
1
-
withCacheNodeCount
public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(Integer cacheNodeCount)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PurchaseReservedCacheNodesOfferingRequest 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:
Object.clone()
-
-