CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
, SdkBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
public static interface ChangePasswordRequest.Builder extends CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
Modifier and Type | Method | Description |
---|---|---|
ChangePasswordRequest.Builder |
newPassword(String newPassword) |
The new password.
|
ChangePasswordRequest.Builder |
oldPassword(String oldPassword) |
The IAM user's current password.
|
copy
apply, build
ChangePasswordRequest.Builder oldPassword(String oldPassword)
The IAM user's current password.
oldPassword
- The IAM user's current password.ChangePasswordRequest.Builder newPassword(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.
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.