Cloneable
, ReadLimitInfo
, ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
@Generated("software.amazon.awssdk:codegen") public class ChangePasswordRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
ChangePasswordRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static ChangePasswordRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
newPassword() |
The new password.
|
String |
oldPassword() |
The IAM user's current password.
|
static Class<? extends ChangePasswordRequest.Builder> |
serializableBuilderClass() |
|
ChangePasswordRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String oldPassword()
The IAM user's current password.
public String newPassword()
The new password. The new password must conform to the AWS account's password policy, if one exists.
The regex pattern used to validate this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
The regex pattern used to validate this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
public ChangePasswordRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
public static ChangePasswordRequest.Builder builder()
public static Class<? extends ChangePasswordRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.