com.amazonaws.services.ec2.model

## クラス GetPasswordDataRequest

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

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

      public class GetPasswordDataRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `GetPasswordData operation`.

  Retrieves the encrypted administrator password for the instances running Windows.

  NOTE: The Windows password is only generated the first time an AMI is launched. It is not generated for rebundled AMIs or after the password is changed on an instance. The password is encrypted using the key pair that you provided.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInstanceId()` The ID of the instance for which you want the Windows administrator password.
    `int` | `hashCode()`
    `void` | `setInstanceId(java.lang.String instanceId)` The ID of the instance for which you want the Windows administrator password.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `GetPasswordDataRequest` | `withInstanceId(java.lang.String instanceId)` The ID of the instance for which you want the Windows administrator password.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### GetPasswordDataRequest

          public GetPasswordDataRequest()

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

    - #### GetPasswordDataRequest

          public GetPasswordDataRequest(java.lang.String instanceId)

      Constructs a new GetPasswordDataRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceId` - The ID of the instance for which you want the Windows administrator password.

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The ID of the instance for which you want the Windows administrator password.
      戻り値:
        The ID of the instance for which you want the Windows administrator password.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The ID of the instance for which you want the Windows administrator password.
      パラメータ:
        `instanceId` - The ID of the instance for which you want the Windows administrator password.

    - #### withInstanceId

          public GetPasswordDataRequest withInstanceId(java.lang.String instanceId)

      The ID of the instance for which you want the Windows administrator password.

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

      パラメータ:
        `instanceId` - The ID of the instance for which you want the Windows administrator password.

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