com.amazonaws.services.redshift.model

## クラス PurchaseReservedNodeOfferingRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.redshift.model.PurchaseReservedNodeOfferingRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class PurchaseReservedNodeOfferingRequest
      extends AmazonWebServiceRequest
      implements java.io.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 .

  関連項目:
    `AmazonRedshift.purchaseReservedNodeOffering(PurchaseReservedNodeOfferingRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `PurchaseReservedNodeOfferingRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getNodeCount()` The number of reserved nodes you want to purchase.
    `java.lang.String` | `getReservedNodeOfferingId()` The unique identifier of the reserved node offering you want to purchase.
    `int` | `hashCode()`
    `void` | `setNodeCount(java.lang.Integer nodeCount)` The number of reserved nodes you want to purchase.
    `void` | `setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)` The unique identifier of the reserved node offering you want to purchase.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `PurchaseReservedNodeOfferingRequest` | `withNodeCount(java.lang.Integer nodeCount)` The number of reserved nodes you want to purchase.
    `PurchaseReservedNodeOfferingRequest` | `withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)` The unique identifier of the reserved node offering you want to purchase.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### PurchaseReservedNodeOfferingRequest

          public PurchaseReservedNodeOfferingRequest()

  - ### メソッドの詳細

    - #### getReservedNodeOfferingId

          public java.lang.String getReservedNodeOfferingId()

      The unique identifier of the reserved node offering you want to purchase.
      戻り値:
        The unique identifier of the reserved node offering you want to purchase.

    - #### setReservedNodeOfferingId

          public void setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)

      The unique identifier of the reserved node offering you want to purchase.
      パラメータ:
        `reservedNodeOfferingId` - The unique identifier of the reserved node offering you want to purchase.

    - #### withReservedNodeOfferingId

          public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(java.lang.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.

      パラメータ:
        `reservedNodeOfferingId` - The unique identifier of the reserved node offering you want to purchase.

    - #### getNodeCount

          public java.lang.Integer getNodeCount()

      The number of reserved nodes you want to purchase.

      Default: `1`

      戻り値:
        The number of reserved nodes you want to purchase.

        Default: `1`

    - #### setNodeCount

          public void setNodeCount(java.lang.Integer nodeCount)

      The number of reserved nodes you want to purchase.

      Default: `1`

      パラメータ:
        `nodeCount` - The number of reserved nodes you want to purchase.

        Default: `1`

    - #### withNodeCount

          public PurchaseReservedNodeOfferingRequest withNodeCount(java.lang.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.

      パラメータ:
        `nodeCount` - The number of reserved nodes you want to purchase.

        Default: `1`

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`