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
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) A valid access token that Amazon Cognito issued to the user whose password you want to change.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.previousPassword
(String previousPassword) The old password.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 Details
-
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
The new password.
- Parameters:
proposedPassword
- The new password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-