public class ChangePasswordRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getOldPassword()
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
public void setOldPassword(java.lang.String oldPassword)
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
oldPassword - The new value for the OldPassword property for this object.public ChangePasswordRequest withOldPassword(java.lang.String oldPassword)
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.public java.lang.String getNewPassword()
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
public void setNewPassword(java.lang.String newPassword)
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
newPassword - The new value for the NewPassword property for this object.public ChangePasswordRequest withNewPassword(java.lang.String newPassword)
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.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object