public class PurchaseReservedCacheNodesOfferingRequest extends AmazonWebServiceRequest implements java.io.Serializable
PurchaseReservedCacheNodesOffering operation.
Purchases a reserved Cache Node offering.
| コンストラクタと説明 |
|---|
PurchaseReservedCacheNodesOfferingRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCacheNodeCount()
The number of instances to reserve.
|
java.lang.String |
getReservedCacheNodeId()
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 instances to reserve.
|
void |
setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
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 instances to reserve.
|
PurchaseReservedCacheNodesOfferingRequest |
withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
Customer-specified identifier to track this reservation.
|
PurchaseReservedCacheNodesOfferingRequest |
withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
The ID of the Reserved Cache Node offering to purchase.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic PurchaseReservedCacheNodesOfferingRequest()
public java.lang.String getReservedCacheNodesOfferingId()
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedCacheNodesOfferingId(java.lang.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(java.lang.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 java.lang.String getReservedCacheNodeId()
Example: myreservationID
Example: myreservationID
public void setReservedCacheNodeId(java.lang.String reservedCacheNodeId)
Example: myreservationID
reservedCacheNodeId - Customer-specified identifier to track this reservation. Example: myreservationID
public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(java.lang.String reservedCacheNodeId)
Example: myreservationID
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodeId - Customer-specified identifier to track this reservation. Example: myreservationID
public java.lang.Integer getCacheNodeCount()
Default: 1
Default: 1
public void setCacheNodeCount(java.lang.Integer cacheNodeCount)
Default: 1
cacheNodeCount - The number of instances to reserve. Default: 1
public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(java.lang.Integer cacheNodeCount)
Default: 1
Returns a reference to this object so that method calls can be chained together.
cacheNodeCount - The number of instances to reserve. Default: 1
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object