public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements 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 .
NOOP
Constructor and Description |
---|
PurchaseReservedNodeOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.