Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class PurchaseReservedNodeOfferingRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.PurchaseReservedNodeOfferingRequest
All Implemented Interfaces:
Serializable

public class PurchaseReservedNodeOfferingRequest
extends AmazonWebServiceRequest
implements Serializable

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 .

See Also:
AmazonRedshift.purchaseReservedNodeOffering(PurchaseReservedNodeOfferingRequest), Serialized Form

Constructor 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

PurchaseReservedNodeOfferingRequest

public PurchaseReservedNodeOfferingRequest()
Method Detail

getReservedNodeOfferingId

public String getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to purchase.

Returns:
The unique identifier of the reserved node offering you want to purchase.

setReservedNodeOfferingId

public void setReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.

Parameters:
reservedNodeOfferingId - The unique identifier of the reserved node offering you want to purchase.

withReservedNodeOfferingId

public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedNodeOfferingId - The unique identifier of the reserved node offering you want to purchase.
Returns:
A reference to this updated object so that method calls can be chained together.

getNodeCount

public Integer getNodeCount()
The number of reserved nodes you want to purchase.

Default: 1

Returns:
The number of reserved nodes you want to purchase.

Default: 1


setNodeCount

public void setNodeCount(Integer nodeCount)
The number of reserved nodes you want to purchase.

Default: 1

Parameters:
nodeCount - The number of reserved nodes you want to purchase.

Default: 1


withNodeCount

public PurchaseReservedNodeOfferingRequest withNodeCount(Integer nodeCount)
The number of reserved nodes you want to purchase.

Default: 1

Returns a reference to this object so that method calls can be chained together.

Parameters:
nodeCount - The number of reserved nodes you want to purchase.

Default: 1

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.