|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.ChangePasswordRequest
public class ChangePasswordRequest
Container for the parameters to the ChangePassword operation
.
Changes the password of the IAM user who is currently signed in. The root account password is not affected by this action. For information about modifying passwords, see Managing Passwords .
AmazonIdentityManagement.changePassword(ChangePasswordRequest)
Constructor Summary | |
---|---|
ChangePasswordRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getNewPassword()
Returns the value of the NewPassword property for this object. |
String |
getOldPassword()
Returns the value of the OldPassword property for this object. |
int |
hashCode()
|
void |
setNewPassword(String newPassword)
Sets the value of the NewPassword property for this object. |
void |
setOldPassword(String oldPassword)
Sets the value of the OldPassword property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ChangePasswordRequest |
withNewPassword(String newPassword)
Sets the value of the NewPassword property for this object. |
ChangePasswordRequest |
withOldPassword(String oldPassword)
Sets the value of the OldPassword property for this object. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangePasswordRequest()
Method Detail |
---|
public String getOldPassword()
Constraints:
Length: 1 - 128
Pattern: [
-?]+
public void setOldPassword(String oldPassword)
Constraints:
Length: 1 - 128
Pattern: [
-?]+
oldPassword
- The new value for the OldPassword property for this object.public ChangePasswordRequest withOldPassword(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 String getNewPassword()
Constraints:
Length: 1 - 128
Pattern: [
-?]+
public void setNewPassword(String newPassword)
Constraints:
Length: 1 - 128
Pattern: [
-?]+
newPassword
- The new value for the NewPassword property for this object.public ChangePasswordRequest withNewPassword(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |