public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements java.io.Serializable
PurchaseReservedNodeOffering operation.
Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.
For more information about managing parameter groups, go to Purchasing Reserved Nodes in the Amazon Redshift Management Guide .
| コンストラクタと説明 |
|---|
PurchaseReservedNodeOfferingRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getNodeCount()
The number of reserved nodes you want to purchase.
|
java.lang.String |
getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to
purchase.
|
int |
hashCode() |
void |
setNodeCount(java.lang.Integer nodeCount)
The number of reserved nodes you want to purchase.
|
void |
setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to
purchase.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PurchaseReservedNodeOfferingRequest |
withNodeCount(java.lang.Integer nodeCount)
The number of reserved nodes you want to purchase.
|
PurchaseReservedNodeOfferingRequest |
withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to
purchase.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
reservedNodeOfferingId - The unique identifier of the reserved node offering you want to
purchase.public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeOfferingId - The unique identifier of the reserved node offering you want to
purchase.public java.lang.Integer getNodeCount()
Default:
1
Default:
1
public void setNodeCount(java.lang.Integer nodeCount)
Default:
1
nodeCount - The number of reserved nodes you want to purchase. Default:
1
public PurchaseReservedNodeOfferingRequest withNodeCount(java.lang.Integer nodeCount)
Default:
1
Returns a reference to this object so that method calls can be chained together.
nodeCount - The number of reserved nodes you want to purchase. 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