Interface ChangePasswordRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
,SdkBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ChangePasswordRequest
public static interface ChangePasswordRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangePasswordRequest.Builder
accessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose password you want to change.ChangePasswordRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ChangePasswordRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ChangePasswordRequest.Builder
previousPassword(String previousPassword)
The old password.ChangePasswordRequest.Builder
proposedPassword(String proposedPassword)
The new password.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
previousPassword
ChangePasswordRequest.Builder previousPassword(String previousPassword)
The old password.
- Parameters:
previousPassword
- The old password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposedPassword
ChangePasswordRequest.Builder proposedPassword(String proposedPassword)
The new password.
- Parameters:
proposedPassword
- The new password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
ChangePasswordRequest.Builder accessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose password you want to change.
- Parameters:
accessToken
- A valid access token that Amazon Cognito issued to the user whose password you want to change.- 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
-
-