com.amazonaws.services.ec2.model

## クラス ProductCode

- java.lang.Object
- - com.amazonaws.services.ec2.model.ProductCode

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

      public class ProductCode
      extends java.lang.Object
      implements java.io.Serializable

  An AWS DevPay product code.

  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getProductCodeId()` The unique ID of an AWS DevPay product code.
    `java.lang.String` | `getProductCodeType()` Returns the value of the ProductCodeType property for this object.
    `int` | `hashCode()`
    `void` | `setProductCodeId(java.lang.String productCodeId)` The unique ID of an AWS DevPay product code.
    `void` | `setProductCodeType(java.lang.String productCodeType)` Sets the value of the ProductCodeType property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ProductCode` | `withProductCodeId(java.lang.String productCodeId)` The unique ID of an AWS DevPay product code.
    `ProductCode` | `withProductCodeType(java.lang.String productCodeType)` Sets the value of the ProductCodeType property for this object.

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

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

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

    - #### ProductCode

          public ProductCode()

  - ### メソッドの詳細

    - #### getProductCodeId

          public java.lang.String getProductCodeId()

      The unique ID of an AWS DevPay product code.
      戻り値:
        The unique ID of an AWS DevPay product code.

    - #### setProductCodeId

          public void setProductCodeId(java.lang.String productCodeId)

      The unique ID of an AWS DevPay product code.
      パラメータ:
        `productCodeId` - The unique ID of an AWS DevPay product code.

    - #### withProductCodeId

          public ProductCode withProductCodeId(java.lang.String productCodeId)

      The unique ID of an AWS DevPay product code.

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

      パラメータ:
        `productCodeId` - The unique ID of an AWS DevPay product code.

    - #### getProductCodeType

          public java.lang.String getProductCodeType()

      Returns the value of the ProductCodeType property for this object.
      戻り値:
        The value of the ProductCodeType property for this object.

    - #### setProductCodeType

          public void setProductCodeType(java.lang.String productCodeType)

      Sets the value of the ProductCodeType property for this object.
      パラメータ:
        `productCodeType` - The new value for the ProductCodeType property for this object.

    - #### withProductCodeType

          public ProductCode withProductCodeType(java.lang.String productCodeType)

      Sets the value of the ProductCodeType property for this object.

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

      パラメータ:
        `productCodeType` - The new value for the ProductCodeType property for this object.

    - #### 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`