com.amazonaws.services.identitymanagement.model

## クラス ChangePasswordRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.identitymanagement.model.ChangePasswordRequest

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

      public class ChangePasswordRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ChangePassword operation`.

  Changes the password of the IAM user calling `ChangePassword` . The root account password is not affected by this action. For information about modifying passwords, see Managing Passwords .

  関連項目:
    `AmazonIdentityManagement.changePassword(ChangePasswordRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getNewPassword()` Returns the value of the NewPassword property for this object.
    `java.lang.String` | `getOldPassword()` Returns the value of the OldPassword property for this object.
    `int` | `hashCode()`
    `void` | `setNewPassword(java.lang.String newPassword)` Sets the value of the NewPassword property for this object.
    `void` | `setOldPassword(java.lang.String oldPassword)` Sets the value of the OldPassword property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ChangePasswordRequest` | `withNewPassword(java.lang.String newPassword)` Sets the value of the NewPassword property for this object.
    `ChangePasswordRequest` | `withOldPassword(java.lang.String oldPassword)` Sets the value of the OldPassword property for this object.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ChangePasswordRequest

          public ChangePasswordRequest()

  - ### メソッドの詳細

    - #### getOldPassword

          public java.lang.String getOldPassword()

      Returns the value of the OldPassword property for this object.

      Constraints:
      Length: 1 - 128
      Pattern: [ -ÿ]+

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

    - #### setOldPassword

          public void setOldPassword(java.lang.String oldPassword)

      Sets the value of the OldPassword property for this object.

      Constraints:
      Length: 1 - 128
      Pattern: [ -ÿ]+

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

    - #### withOldPassword

          public ChangePasswordRequest withOldPassword(java.lang.String oldPassword)

      Sets the value of the OldPassword property for this object.

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

      Constraints:
      Length: 1 - 128
      Pattern: [ -ÿ]+

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

    - #### getNewPassword

          public java.lang.String getNewPassword()

      Returns the value of the NewPassword property for this object.

      Constraints:
      Length: 1 - 128
      Pattern: [ -ÿ]+

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

    - #### setNewPassword

          public void setNewPassword(java.lang.String newPassword)

      Sets the value of the NewPassword property for this object.

      Constraints:
      Length: 1 - 128
      Pattern: [ -ÿ]+

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

    - #### withNewPassword

          public ChangePasswordRequest withNewPassword(java.lang.String newPassword)

      Sets the value of the NewPassword property for this object.

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

      Constraints:
      Length: 1 - 128
      Pattern: [ -ÿ]+

      パラメータ:
        `newPassword` - The new value for the NewPassword 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`