Interface ChangePasswordRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
,IamRequest.Builder
,SdkBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ChangePasswordRequest
public static interface ChangePasswordRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangePasswordRequest.Builder
newPassword(String newPassword)
The new password.ChangePasswordRequest.Builder
oldPassword(String oldPassword)
The IAM user's current password.ChangePasswordRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ChangePasswordRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
oldPassword
ChangePasswordRequest.Builder oldPassword(String 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
ChangePasswordRequest.Builder newPassword(String 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 (
ÿ
). You can also include the tab (- 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 (
ÿ
). You can also include the tab (- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ChangePasswordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ChangePasswordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-