public static interface ChangePasswordRequest.Builder extends IamRequest.Builder, CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
Modifier and Type | Method and Description |
---|---|
ChangePasswordRequest.Builder |
newPassword(String newPassword)
The new password.
|
ChangePasswordRequest.Builder |
oldPassword(String oldPassword)
The IAM user's current password.
|
ChangePasswordRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ChangePasswordRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, 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.
ChangePasswordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ChangePasswordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.