Interface VerifyUserAttributeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<VerifyUserAttributeRequest.Builder,
,VerifyUserAttributeRequest> SdkBuilder<VerifyUserAttributeRequest.Builder,
,VerifyUserAttributeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
VerifyUserAttributeRequest
@Mutable
@NotThreadSafe
public static interface VerifyUserAttributeRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<VerifyUserAttributeRequest.Builder,VerifyUserAttributeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) A valid access token that Amazon Cognito issued to the currently signed-in user.attributeName
(String attributeName) The name of the attribute that you want to verify.The verification code that your user pool sent to the added or changed attribute, for example the user's email address.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
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 Details
-
accessToken
A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for
aws.cognito.signin.user.admin
.- Parameters:
accessToken
- A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim foraws.cognito.signin.user.admin
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
The name of the attribute that you want to verify.
- Parameters:
attributeName
- The name of the attribute that you want to verify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
The verification code that your user pool sent to the added or changed attribute, for example the user's email address.
- Parameters:
code
- The verification code that your user pool sent to the added or changed attribute, for example the user's email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
VerifyUserAttributeRequest.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
VerifyUserAttributeRequest.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.
-