public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
PurchaseReservedNodeOffering operation.
Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more 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 reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide .
NOOP| Constructor and Description |
|---|
PurchaseReservedNodeOfferingRequest() |
| Modifier and Type | Method and Description |
|---|---|
PurchaseReservedNodeOfferingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getNodeCount()
The number of reserved nodes you want to purchase.
|
String |
getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to
purchase.
|
int |
hashCode() |
void |
setNodeCount(Integer nodeCount)
The number of reserved nodes you want to purchase.
|
void |
setReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to
purchase.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PurchaseReservedNodeOfferingRequest |
withNodeCount(Integer nodeCount)
The number of reserved nodes you want to purchase.
|
PurchaseReservedNodeOfferingRequest |
withReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to
purchase.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(String reservedNodeOfferingId)
reservedNodeOfferingId - The unique identifier of the reserved node offering you want to
purchase.public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(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 Integer getNodeCount()
Default:
1
Default:
1
public void setNodeCount(Integer nodeCount)
Default:
1
nodeCount - The number of reserved nodes you want to purchase. Default:
1
public PurchaseReservedNodeOfferingRequest withNodeCount(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 String toString()
toString in class ObjectObject.toString()public PurchaseReservedNodeOfferingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.