com.amazonaws.services.rds.model

## クラス PurchaseReservedDBInstancesOfferingRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.rds.model.PurchaseReservedDBInstancesOfferingRequest

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

      public class PurchaseReservedDBInstancesOfferingRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `PurchaseReservedDBInstancesOffering operation`.

  Purchases a reserved DB Instance offering.

  関連項目:
    `AmazonRDS.purchaseReservedDBInstancesOffering(PurchaseReservedDBInstancesOfferingRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `PurchaseReservedDBInstancesOfferingRequest()` Default constructor for a new PurchaseReservedDBInstancesOfferingRequest object.
    `PurchaseReservedDBInstancesOfferingRequest(java.lang.String reservedDBInstancesOfferingId)` Constructs a new PurchaseReservedDBInstancesOfferingRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getDBInstanceCount()` The number of instances to reserve.
    `java.lang.String` | `getReservedDBInstanceId()` Customer-specified identifier to track this reservation.
    `java.lang.String` | `getReservedDBInstancesOfferingId()` The ID of the Reserved DB Instance offering to purchase.
    `int` | `hashCode()`
    `void` | `setDBInstanceCount(java.lang.Integer dBInstanceCount)` The number of instances to reserve.
    `void` | `setReservedDBInstanceId(java.lang.String reservedDBInstanceId)` Customer-specified identifier to track this reservation.
    `void` | `setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)` The ID of the Reserved DB Instance offering to purchase.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `PurchaseReservedDBInstancesOfferingRequest` | `withDBInstanceCount(java.lang.Integer dBInstanceCount)` The number of instances to reserve.
    `PurchaseReservedDBInstancesOfferingRequest` | `withReservedDBInstanceId(java.lang.String reservedDBInstanceId)` Customer-specified identifier to track this reservation.
    `PurchaseReservedDBInstancesOfferingRequest` | `withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)` The ID of the Reserved DB Instance offering to purchase.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### PurchaseReservedDBInstancesOfferingRequest

          public PurchaseReservedDBInstancesOfferingRequest()

      Default constructor for a new PurchaseReservedDBInstancesOfferingRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### PurchaseReservedDBInstancesOfferingRequest

          public PurchaseReservedDBInstancesOfferingRequest(java.lang.String reservedDBInstancesOfferingId)

      Constructs a new PurchaseReservedDBInstancesOfferingRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `reservedDBInstancesOfferingId` - The ID of the Reserved DB Instance offering to purchase.

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

  - ### メソッドの詳細

    - #### getReservedDBInstancesOfferingId

          public java.lang.String getReservedDBInstancesOfferingId()

      The ID of the Reserved DB Instance offering to purchase.

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

      戻り値:
        The ID of the Reserved DB Instance offering to purchase.

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

    - #### setReservedDBInstancesOfferingId

          public void setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)

      The ID of the Reserved DB Instance offering to purchase.

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

      パラメータ:
        `reservedDBInstancesOfferingId` - The ID of the Reserved DB Instance offering to purchase.

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

    - #### withReservedDBInstancesOfferingId

          public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)

      The ID of the Reserved DB Instance offering to purchase.

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

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

      パラメータ:
        `reservedDBInstancesOfferingId` - The ID of the Reserved DB Instance offering to purchase.

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

    - #### getReservedDBInstanceId

          public java.lang.String getReservedDBInstanceId()

      Customer-specified identifier to track this reservation.

      Example: myreservationID

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

        Example: myreservationID

    - #### setReservedDBInstanceId

          public void setReservedDBInstanceId(java.lang.String reservedDBInstanceId)

      Customer-specified identifier to track this reservation.

      Example: myreservationID

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

        Example: myreservationID

    - #### withReservedDBInstanceId

          public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstanceId(java.lang.String reservedDBInstanceId)

      Customer-specified identifier to track this reservation.

      Example: myreservationID

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

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

        Example: myreservationID

    - #### getDBInstanceCount

          public java.lang.Integer getDBInstanceCount()

      The number of instances to reserve.

      Default: `1`

      戻り値:
        The number of instances to reserve.

        Default: `1`

    - #### setDBInstanceCount

          public void setDBInstanceCount(java.lang.Integer dBInstanceCount)

      The number of instances to reserve.

      Default: `1`

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

        Default: `1`

    - #### withDBInstanceCount

          public PurchaseReservedDBInstancesOfferingRequest withDBInstanceCount(java.lang.Integer dBInstanceCount)

      The number of instances to reserve.

      Default: `1`

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

      パラメータ:
        `dBInstanceCount` - 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`