com.amazonaws.services.ec2.model

## クラス ActivateLicenseRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.ActivateLicenseRequest

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

      public class ActivateLicenseRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ActivateLicense operation`.

  Activates a specific number of licenses for a 90-day period. Activations can be done against a specific license ID.

  関連項目:
    `AmazonEC2.activateLicense(ActivateLicenseRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `ActivateLicenseRequest()` Default constructor for a new ActivateLicenseRequest object.
    `ActivateLicenseRequest(java.lang.String licenseId, java.lang.Integer capacity)` Constructs a new ActivateLicenseRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getCapacity()` Specifies the additional number of licenses to activate.
    `java.lang.String` | `getLicenseId()` Specifies the ID for the specific license to activate against.
    `int` | `hashCode()`
    `void` | `setCapacity(java.lang.Integer capacity)` Specifies the additional number of licenses to activate.
    `void` | `setLicenseId(java.lang.String licenseId)` Specifies the ID for the specific license to activate against.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ActivateLicenseRequest` | `withCapacity(java.lang.Integer capacity)` Specifies the additional number of licenses to activate.
    `ActivateLicenseRequest` | `withLicenseId(java.lang.String licenseId)` Specifies the ID for the specific license to activate against.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ActivateLicenseRequest

          public ActivateLicenseRequest()

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

    - #### ActivateLicenseRequest

          public ActivateLicenseRequest(java.lang.String licenseId,
                                java.lang.Integer capacity)

      Constructs a new ActivateLicenseRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `licenseId` - Specifies the ID for the specific license to activate against.
        `capacity` - Specifies the additional number of licenses to activate.

  - ### メソッドの詳細

    - #### getLicenseId

          public java.lang.String getLicenseId()

      Specifies the ID for the specific license to activate against.
      戻り値:
        Specifies the ID for the specific license to activate against.

    - #### setLicenseId

          public void setLicenseId(java.lang.String licenseId)

      Specifies the ID for the specific license to activate against.
      パラメータ:
        `licenseId` - Specifies the ID for the specific license to activate against.

    - #### withLicenseId

          public ActivateLicenseRequest withLicenseId(java.lang.String licenseId)

      Specifies the ID for the specific license to activate against.

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

      パラメータ:
        `licenseId` - Specifies the ID for the specific license to activate against.

    - #### getCapacity

          public java.lang.Integer getCapacity()

      Specifies the additional number of licenses to activate.
      戻り値:
        Specifies the additional number of licenses to activate.

    - #### setCapacity

          public void setCapacity(java.lang.Integer capacity)

      Specifies the additional number of licenses to activate.
      パラメータ:
        `capacity` - Specifies the additional number of licenses to activate.

    - #### withCapacity

          public ActivateLicenseRequest withCapacity(java.lang.Integer capacity)

      Specifies the additional number of licenses to activate.

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

      パラメータ:
        `capacity` - Specifies the additional number of licenses to activate.

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