public static interface UserPoolType.Builder extends CopyableBuilder<UserPoolType.Builder,UserPoolType>
Modifier and Type | Method and Description |
---|---|
UserPoolType.Builder |
adminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
default UserPoolType.Builder |
adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
UserPoolType.Builder |
aliasAttributes(Collection<String> aliasAttributes)
Specifies the attributes that are aliased in a user pool.
|
UserPoolType.Builder |
aliasAttributes(String... aliasAttributes)
Specifies the attributes that are aliased in a user pool.
|
UserPoolType.Builder |
autoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
|
UserPoolType.Builder |
autoVerifiedAttributes(String... autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
|
UserPoolType.Builder |
creationDate(Instant creationDate)
The date the user pool was created.
|
default UserPoolType.Builder |
deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration)
The device configuration.
|
UserPoolType.Builder |
deviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device configuration.
|
default UserPoolType.Builder |
emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration)
The email configuration.
|
UserPoolType.Builder |
emailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration.
|
UserPoolType.Builder |
emailConfigurationFailure(String emailConfigurationFailure)
The reason why the email configuration cannot send the messages to your users.
|
UserPoolType.Builder |
emailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
UserPoolType.Builder |
emailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
|
UserPoolType.Builder |
estimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
|
UserPoolType.Builder |
id(String id)
The ID of the user pool.
|
default UserPoolType.Builder |
lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig)
A container for the AWS Lambda triggers associated with a user pool.
|
UserPoolType.Builder |
lambdaConfig(LambdaConfigType lambdaConfig)
A container for the AWS Lambda triggers associated with a user pool.
|
UserPoolType.Builder |
lastModifiedDate(Instant lastModifiedDate)
The date the user pool was last modified.
|
UserPoolType.Builder |
mfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
UserPoolType.Builder |
mfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
UserPoolType.Builder |
name(String name)
The name of the user pool.
|
default UserPoolType.Builder |
policies(Consumer<UserPoolPolicyType.Builder> policies)
A container for the policies associated with a user pool.
|
UserPoolType.Builder |
policies(UserPoolPolicyType policies)
A container for the policies associated with a user pool.
|
UserPoolType.Builder |
schemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType.Builder |
schemaAttributes(Consumer<SchemaAttributeType.Builder>... schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType.Builder |
schemaAttributes(SchemaAttributeType... schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType.Builder |
smsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
default UserPoolType.Builder |
smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
The SMS configuration.
|
UserPoolType.Builder |
smsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
|
UserPoolType.Builder |
smsConfigurationFailure(String smsConfigurationFailure)
The reason why the SMS configuration cannot send the messages to your users.
|
UserPoolType.Builder |
smsVerificationMessage(String smsVerificationMessage)
The contents of the SMS verification message.
|
UserPoolType.Builder |
status(StatusType status)
The status of a user pool.
|
UserPoolType.Builder |
status(String status)
The status of a user pool.
|
UserPoolType.Builder |
usernameAttributes(Collection<String> usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
|
UserPoolType.Builder |
usernameAttributes(String... usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
|
UserPoolType.Builder |
userPoolTags(Map<String,String> userPoolTags)
The cost allocation tags for the user pool.
|
default UserPoolType.Builder |
verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate)
The template for verification messages.
|
UserPoolType.Builder |
verificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
copy
apply, build
UserPoolType.Builder id(String id)
The ID of the user pool.
id
- The ID of the user pool.UserPoolType.Builder name(String name)
The name of the user pool.
name
- The name of the user pool.UserPoolType.Builder policies(UserPoolPolicyType policies)
A container for the policies associated with a user pool.
policies
- A container for the policies associated with a user pool.default UserPoolType.Builder policies(Consumer<UserPoolPolicyType.Builder> policies)
A container for the policies associated with 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)
UserPoolType.Builder lambdaConfig(LambdaConfigType lambdaConfig)
A container for the AWS Lambda triggers associated with a user pool.
lambdaConfig
- A container for the AWS Lambda triggers associated with a user pool.default UserPoolType.Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig)
A container for the AWS Lambda triggers associated with a 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)
UserPoolType.Builder status(String status)
The status of a user pool.
status
- The status of a user pool.StatusType
,
StatusType
UserPoolType.Builder status(StatusType status)
The status of a user pool.
status
- The status of a user pool.StatusType
,
StatusType
UserPoolType.Builder lastModifiedDate(Instant lastModifiedDate)
The date the user pool was last modified.
lastModifiedDate
- The date the user pool was last modified.UserPoolType.Builder creationDate(Instant creationDate)
The date the user pool was created.
creationDate
- The date the user pool was created.UserPoolType.Builder schemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
schemaAttributes
- A container with the schema attributes of a user pool.UserPoolType.Builder schemaAttributes(SchemaAttributeType... schemaAttributes)
A container with the schema attributes of a user pool.
schemaAttributes
- A container with the schema attributes of a user pool.UserPoolType.Builder schemaAttributes(Consumer<SchemaAttributeType.Builder>... schemaAttributes)
A container with the schema attributes of a user pool.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #schemaAttributes(List)
.schemaAttributes
- a consumer that will call methods on List.Builder
#schemaAttributes(List)
UserPoolType.Builder autoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
autoVerifiedAttributes
- Specifies the attributes that are auto-verified in a user pool.UserPoolType.Builder autoVerifiedAttributes(String... autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
autoVerifiedAttributes
- Specifies the attributes that are auto-verified in a user pool.UserPoolType.Builder aliasAttributes(Collection<String> aliasAttributes)
Specifies the attributes that are aliased in a user pool.
aliasAttributes
- Specifies the attributes that are aliased in a user pool.UserPoolType.Builder aliasAttributes(String... aliasAttributes)
Specifies the attributes that are aliased in a user pool.
aliasAttributes
- Specifies the attributes that are aliased in a user pool.UserPoolType.Builder usernameAttributes(Collection<String> usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
usernameAttributes
- Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.UserPoolType.Builder usernameAttributes(String... usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
usernameAttributes
- Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.UserPoolType.Builder smsVerificationMessage(String smsVerificationMessage)
The contents of the SMS verification message.
smsVerificationMessage
- The contents of the SMS verification message.UserPoolType.Builder emailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
emailVerificationMessage
- The contents of the email verification message.UserPoolType.Builder emailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
emailVerificationSubject
- The subject of the email verification message.UserPoolType.Builder verificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
verificationMessageTemplate
- The template for verification messages.default UserPoolType.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)
UserPoolType.Builder smsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage
- The contents of the SMS authentication message.UserPoolType.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
UserPoolType.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
UserPoolType.Builder deviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device configuration.
deviceConfiguration
- The device configuration.default UserPoolType.Builder deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration)
The 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)
UserPoolType.Builder estimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
estimatedNumberOfUsers
- A number estimating the size of the user pool.UserPoolType.Builder emailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration.
emailConfiguration
- The email configuration.default UserPoolType.Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration)
The 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)
UserPoolType.Builder smsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
smsConfiguration
- The SMS configuration.default UserPoolType.Builder smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
The 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)
UserPoolType.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 PoolUserPoolType.Builder smsConfigurationFailure(String smsConfigurationFailure)
The reason why the SMS configuration cannot send the messages to your users.
smsConfigurationFailure
- The reason why the SMS configuration cannot send the messages to your users.UserPoolType.Builder emailConfigurationFailure(String emailConfigurationFailure)
The reason why the email configuration cannot send the messages to your users.
emailConfigurationFailure
- The reason why the email configuration cannot send the messages to your users.UserPoolType.Builder adminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser
requests.
adminCreateUserConfig
- The configuration for AdminCreateUser
requests.default UserPoolType.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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.