Class PurchaseReservedNodeOfferingRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.PurchaseReservedNodeOfferingRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • PurchaseReservedNodeOfferingRequest

      public PurchaseReservedNodeOfferingRequest()
  • Method Details

    • 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.
    • 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.
    • withReservedNodeOfferingId

      public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNodeCount

      public void setNodeCount(Integer nodeCount)

      The number of reserved nodes that you want to purchase.

      Default: 1

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

      Default: 1

    • getNodeCount

      public Integer getNodeCount()

      The number of reserved nodes that you want to purchase.

      Default: 1

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

      Default: 1

    • withNodeCount

      public PurchaseReservedNodeOfferingRequest withNodeCount(Integer nodeCount)

      The number of reserved nodes that you want to purchase.

      Default: 1

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

      Default: 1

      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: