public class PurchaseReservedCacheNodesOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
PurchaseReservedCacheNodesOffering operation
.
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.
NOOP
Constructor and Description |
---|
PurchaseReservedCacheNodesOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedCacheNodesOfferingRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PurchaseReservedCacheNodesOfferingRequest()
public String getReservedCacheNodesOfferingId()
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
reservedCacheNodesOfferingId
- The ID of the reserved cache node offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodesOfferingId
- The ID of the reserved cache node offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public String getReservedCacheNodeId()
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 void setReservedCacheNodeId(String reservedCacheNodeId)
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 PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(String reservedCacheNodeId)
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 reference to this object so that method calls can be chained together.
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 Integer getCacheNodeCount()
Default:
1
Default:
1
public void setCacheNodeCount(Integer cacheNodeCount)
Default:
1
cacheNodeCount
- The number of cache node instances to reserve. Default:
1
public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(Integer cacheNodeCount)
Default:
1
Returns a reference to this object so that method calls can be chained together.
cacheNodeCount
- The number of cache node instances to reserve. Default:
1
public String toString()
toString
in class Object
Object.toString()
public PurchaseReservedCacheNodesOfferingRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.