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.BuilderaccessToken(String accessToken)A valid access token that Amazon Cognito issued to the user whose password you want to change.ChangePasswordRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ChangePasswordRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ChangePasswordRequest.BuilderpreviousPassword(String previousPassword)The user's previous password.ChangePasswordRequest.BuilderproposedPassword(String proposedPassword)A new password that you prompted the user to enter in your application.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
previousPassword
ChangePasswordRequest.Builder previousPassword(String previousPassword)
The user's previous password. Required if the user has a password. If the user has no password and only signs in with passwordless authentication options, you can omit this parameter.
- Parameters:
previousPassword- The user's previous password. Required if the user has a password. If the user has no password and only signs in with passwordless authentication options, you can omit this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposedPassword
ChangePasswordRequest.Builder proposedPassword(String proposedPassword)
A new password that you prompted the user to enter in your application.
- Parameters:
proposedPassword- A new password that you prompted the user to enter in your application.- 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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ChangePasswordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-