com.amazonaws.services.elasticache.model

## クラス PurchaseReservedCacheNodesOfferingRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticache.model.PurchaseReservedCacheNodesOfferingRequest

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

      public class PurchaseReservedCacheNodesOfferingRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `PurchaseReservedCacheNodesOffering operation`.

  Purchases a reserved Cache Node offering.

  関連項目:
    `AmazonElastiCache.purchaseReservedCacheNodesOffering(PurchaseReservedCacheNodesOfferingRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getCacheNodeCount()` The number of instances to reserve.
    `java.lang.String` | `getReservedCacheNodeId()` Customer-specified identifier to track this reservation.
    `java.lang.String` | `getReservedCacheNodesOfferingId()` The ID of the Reserved Cache Node offering to purchase.
    `int` | `hashCode()`
    `void` | `setCacheNodeCount(java.lang.Integer cacheNodeCount)` The number of instances to reserve.
    `void` | `setReservedCacheNodeId(java.lang.String reservedCacheNodeId)` Customer-specified identifier to track this reservation.
    `void` | `setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)` The ID of the Reserved Cache Node offering to purchase.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `PurchaseReservedCacheNodesOfferingRequest` | `withCacheNodeCount(java.lang.Integer cacheNodeCount)` The number of instances to reserve.
    `PurchaseReservedCacheNodesOfferingRequest` | `withReservedCacheNodeId(java.lang.String reservedCacheNodeId)` Customer-specified identifier to track this reservation.
    `PurchaseReservedCacheNodesOfferingRequest` | `withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)` The ID of the Reserved Cache Node offering to purchase.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### PurchaseReservedCacheNodesOfferingRequest

          public PurchaseReservedCacheNodesOfferingRequest()

  - ### メソッドの詳細

    - #### getReservedCacheNodesOfferingId

          public java.lang.String getReservedCacheNodesOfferingId()

      The ID of the Reserved Cache Node offering to purchase.

      Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

      戻り値:
        The ID of the Reserved Cache Node offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

    - #### setReservedCacheNodesOfferingId

          public void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)

      The ID of the Reserved Cache Node offering to purchase.

      Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

      パラメータ:
        `reservedCacheNodesOfferingId` - The ID of the Reserved Cache Node offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

    - #### withReservedCacheNodesOfferingId

          public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)

      The ID of the Reserved Cache Node offering to purchase.

      Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

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

      パラメータ:
        `reservedCacheNodesOfferingId` - The ID of the Reserved Cache Node offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

    - #### getReservedCacheNodeId

          public java.lang.String getReservedCacheNodeId()

      Customer-specified identifier to track this reservation.

      Example: myreservationID

      戻り値:
        Customer-specified identifier to track this reservation.

        Example: myreservationID

    - #### setReservedCacheNodeId

          public void setReservedCacheNodeId(java.lang.String reservedCacheNodeId)

      Customer-specified identifier to track this reservation.

      Example: myreservationID

      パラメータ:
        `reservedCacheNodeId` - Customer-specified identifier to track this reservation.

        Example: myreservationID

    - #### withReservedCacheNodeId

          public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(java.lang.String reservedCacheNodeId)

      Customer-specified identifier to track this reservation.

      Example: myreservationID

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

      パラメータ:
        `reservedCacheNodeId` - Customer-specified identifier to track this reservation.

        Example: myreservationID

    - #### getCacheNodeCount

          public java.lang.Integer getCacheNodeCount()

      The number of instances to reserve.

      Default: `1`

      戻り値:
        The number of instances to reserve.

        Default: `1`

    - #### setCacheNodeCount

          public void setCacheNodeCount(java.lang.Integer cacheNodeCount)

      The number of instances to reserve.

      Default: `1`

      パラメータ:
        `cacheNodeCount` - The number of instances to reserve.

        Default: `1`

    - #### withCacheNodeCount

          public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(java.lang.Integer cacheNodeCount)

      The number of instances to reserve.

      Default: `1`

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

      パラメータ:
        `cacheNodeCount` - The number of instances to reserve.

        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`