public static interface UpdateUserPoolRequest.Builder extends CognitoIdentityProviderRequest.Builder, CopyableBuilder<UpdateUserPoolRequest.Builder,UpdateUserPoolRequest>
Modifier and Type | Method and Description |
---|---|
UpdateUserPoolRequest.Builder |
adminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
default UpdateUserPoolRequest.Builder |
adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
UpdateUserPoolRequest.Builder |
autoVerifiedAttributes(Collection<VerifiedAttributeType> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user
pools.
|
UpdateUserPoolRequest.Builder |
autoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user
pools.
|
UpdateUserPoolRequest.Builder |
autoVerifiedAttributesWithStrings(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user
pools.
|
UpdateUserPoolRequest.Builder |
autoVerifiedAttributesWithStrings(String... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user
pools.
|
default UpdateUserPoolRequest.Builder |
deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration)
Device configuration.
|
UpdateUserPoolRequest.Builder |
deviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
|
default UpdateUserPoolRequest.Builder |
emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration)
Email configuration.
|
UpdateUserPoolRequest.Builder |
emailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
|
UpdateUserPoolRequest.Builder |
emailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
UpdateUserPoolRequest.Builder |
emailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
|
default UpdateUserPoolRequest.Builder |
lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
|
UpdateUserPoolRequest.Builder |
lambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
|
UpdateUserPoolRequest.Builder |
mfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
UpdateUserPoolRequest.Builder |
mfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
UpdateUserPoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateUserPoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateUserPoolRequest.Builder |
policies(Consumer<UserPoolPolicyType.Builder> policies)
A container with the policies you wish to update in a user pool.
|
UpdateUserPoolRequest.Builder |
policies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
|
UpdateUserPoolRequest.Builder |
smsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
default UpdateUserPoolRequest.Builder |
smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
SMS configuration.
|
UpdateUserPoolRequest.Builder |
smsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
|
UpdateUserPoolRequest.Builder |
smsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
|
UpdateUserPoolRequest.Builder |
userPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
|
UpdateUserPoolRequest.Builder |
userPoolTags(Map<String,String> userPoolTags)
The cost allocation tags for the user pool.
|
default UpdateUserPoolRequest.Builder |
verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate)
The template for verification messages.
|
UpdateUserPoolRequest.Builder |
verificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateUserPoolRequest.Builder userPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
userPoolId
- The user pool ID for the user pool you want to update.UpdateUserPoolRequest.Builder policies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
policies
- A container with the policies you wish to update in a user pool.default UpdateUserPoolRequest.Builder policies(Consumer<UserPoolPolicyType.Builder> policies)
A container with the policies you wish to update in a user pool.
This is a convenience that creates an instance of theUserPoolPolicyType.Builder
avoiding the need to
create one manually via UserPoolPolicyType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to policies(UserPoolPolicyType)
.policies
- a consumer that will call methods on UserPoolPolicyType.Builder
policies(UserPoolPolicyType)
UpdateUserPoolRequest.Builder lambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
lambdaConfig
- The AWS Lambda configuration information from the request to update the user pool.default UpdateUserPoolRequest.Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
This is a convenience that creates an instance of theLambdaConfigType.Builder
avoiding the need to
create one manually via LambdaConfigType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to lambdaConfig(LambdaConfigType)
.lambdaConfig
- a consumer that will call methods on LambdaConfigType.Builder
lambdaConfig(LambdaConfigType)
UpdateUserPoolRequest.Builder autoVerifiedAttributesWithStrings(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon Cognito service makes a request to
update user pools.UpdateUserPoolRequest.Builder autoVerifiedAttributesWithStrings(String... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon Cognito service makes a request to
update user pools.UpdateUserPoolRequest.Builder autoVerifiedAttributes(Collection<VerifiedAttributeType> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon Cognito service makes a request to
update user pools.UpdateUserPoolRequest.Builder autoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon Cognito service makes a request to
update user pools.UpdateUserPoolRequest.Builder smsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
smsVerificationMessage
- A container with information about the SMS verification message.UpdateUserPoolRequest.Builder emailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
emailVerificationMessage
- The contents of the email verification message.UpdateUserPoolRequest.Builder emailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
emailVerificationSubject
- The subject of the email verification message.UpdateUserPoolRequest.Builder verificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
verificationMessageTemplate
- The template for verification messages.default UpdateUserPoolRequest.Builder verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate)
The template for verification messages.
This is a convenience that creates an instance of theVerificationMessageTemplateType.Builder
avoiding the need to create one manually via VerificationMessageTemplateType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to verificationMessageTemplate(VerificationMessageTemplateType)
.verificationMessageTemplate
- a consumer that will call methods on VerificationMessageTemplateType.Builder
verificationMessageTemplate(VerificationMessageTemplateType)
UpdateUserPoolRequest.Builder smsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage
- The contents of the SMS authentication message.UpdateUserPoolRequest.Builder mfaConfiguration(String mfaConfiguration)
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify required when you
are initially creating a user pool.
OPTIONAL
- Users have the option when registering to create an MFA token.
mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify required
when you are initially creating a user pool.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
,
UserPoolMfaType
UpdateUserPoolRequest.Builder mfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify required when you
are initially creating a user pool.
OPTIONAL
- Users have the option when registering to create an MFA token.
mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify required
when you are initially creating a user pool.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
,
UserPoolMfaType
UpdateUserPoolRequest.Builder deviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
deviceConfiguration
- Device configuration.default UpdateUserPoolRequest.Builder deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration)
Device configuration.
This is a convenience that creates an instance of theDeviceConfigurationType.Builder
avoiding the
need to create one manually via DeviceConfigurationType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to deviceConfiguration(DeviceConfigurationType)
.deviceConfiguration
- a consumer that will call methods on DeviceConfigurationType.Builder
deviceConfiguration(DeviceConfigurationType)
UpdateUserPoolRequest.Builder emailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
emailConfiguration
- Email configuration.default UpdateUserPoolRequest.Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration)
Email configuration.
This is a convenience that creates an instance of theEmailConfigurationType.Builder
avoiding the
need to create one manually via EmailConfigurationType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to emailConfiguration(EmailConfigurationType)
.emailConfiguration
- a consumer that will call methods on EmailConfigurationType.Builder
emailConfiguration(EmailConfigurationType)
UpdateUserPoolRequest.Builder smsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
smsConfiguration
- SMS configuration.default UpdateUserPoolRequest.Builder smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
SMS configuration.
This is a convenience that creates an instance of theSmsConfigurationType.Builder
avoiding the need
to create one manually via SmsConfigurationType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to smsConfiguration(SmsConfigurationType)
.smsConfiguration
- a consumer that will call methods on SmsConfigurationType.Builder
smsConfiguration(SmsConfigurationType)
UpdateUserPoolRequest.Builder userPoolTags(Map<String,String> userPoolTags)
The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool
userPoolTags
- The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User PoolUpdateUserPoolRequest.Builder adminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser
requests.
adminCreateUserConfig
- The configuration for AdminCreateUser
requests.default UpdateUserPoolRequest.Builder adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig)
The configuration for AdminCreateUser
requests.
AdminCreateUserConfigType.Builder
avoiding the
need to create one manually via AdminCreateUserConfigType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to adminCreateUserConfig(AdminCreateUserConfigType)
.adminCreateUserConfig
- a consumer that will call methods on AdminCreateUserConfigType.Builder
adminCreateUserConfig(AdminCreateUserConfigType)
UpdateUserPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateUserPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.