public class ChangePasswordRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ChangePasswordRequest() |
Modifier and Type | Method and Description |
---|---|
ChangePasswordRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getNewPassword()
The new password.
|
String |
getOldPassword()
The IAM user's current password.
|
int |
hashCode() |
void |
setNewPassword(String newPassword)
The new password.
|
void |
setOldPassword(String oldPassword)
The IAM user's current password.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChangePasswordRequest |
withNewPassword(String newPassword)
The new password.
|
ChangePasswordRequest |
withOldPassword(String oldPassword)
The IAM user's current password.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setOldPassword(String oldPassword)
The IAM user's current password.
oldPassword
- The IAM user's current password.public String getOldPassword()
The IAM user's current password.
public ChangePasswordRequest withOldPassword(String oldPassword)
The IAM user's current password.
oldPassword
- The IAM user's current password.public void setNewPassword(String newPassword)
The new password. The new password must conform to the AWS account's password policy, if one exists.
newPassword
- The new password. The new password must conform to the AWS
account's password policy, if one exists.public String getNewPassword()
The new password. The new password must conform to the AWS account's password policy, if one exists.
public ChangePasswordRequest withNewPassword(String newPassword)
The new password. The new password must conform to the AWS account's password policy, if one exists.
newPassword
- The new password. The new password must conform to the AWS
account's password policy, if one exists.public String toString()
toString
in class Object
Object.toString()
public ChangePasswordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.