com.amazonaws.services.ec2.model

## クラス InstanceLicenseSpecification

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

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

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

  Part of a request to launch Amazon EC2 instances, specifying which license pool to use if a license should be attached to the new Amazon EC2 instance.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getPool()` The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.
    `int` | `hashCode()`
    `void` | `setPool(java.lang.String pool)` The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceLicenseSpecification` | `withPool(java.lang.String pool)` The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.

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

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

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

    - #### InstanceLicenseSpecification

          public InstanceLicenseSpecification()

  - ### メソッドの詳細

    - #### getPool

          public java.lang.String getPool()

      The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.
      戻り値:
        The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.

    - #### setPool

          public void setPool(java.lang.String pool)

      The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.
      パラメータ:
        `pool` - The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.

    - #### withPool

          public InstanceLicenseSpecification withPool(java.lang.String pool)

      The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.

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

      パラメータ:
        `pool` - The license pool from which to take a license when starting Amazon EC2 instances in the associated `RunInstances` request.

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