Interface ChangePasswordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ChangePasswordRequest.Builder,,ChangePasswordRequest> IamRequest.Builder,SdkBuilder<ChangePasswordRequest.Builder,,ChangePasswordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ChangePasswordRequest
-
Method Summary
Modifier and TypeMethodDescriptionnewPassword(String newPassword) The new password.oldPassword(String oldPassword) The IAM user's current password.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
oldPassword
The IAM user's current password.
- Parameters:
oldPassword- The IAM user's current password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newPassword
The new password. The new password must conform to the Amazon Web Services account's password policy, if one exists.
The regex pattern that is used to validate this parameter is a string of characters. That string can include 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. Any of these characters are valid in a password. However, many tools, such as the Amazon Web Services Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.- Parameters:
newPassword- The new password. The new password must conform to the Amazon Web Services account's password policy, if one exists.The regex pattern that is used to validate this parameter is a string of characters. That string can include 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. Any of these characters are valid in a password. However, many tools, such as the Amazon Web Services Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ChangePasswordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ChangePasswordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-