|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.PurchaseReservedNodeOfferingRequest
public class PurchaseReservedNodeOfferingRequest
Container for the parameters to the 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 .
AmazonRedshift.purchaseReservedNodeOffering(PurchaseReservedNodeOfferingRequest)
,
Serialized FormConstructor Summary | |
---|---|
PurchaseReservedNodeOfferingRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PurchaseReservedNodeOfferingRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |