public class UserPoolType extends Object implements Serializable
A container for information about the user pool.
| Constructor and Description |
|---|
UserPoolType() |
| Modifier and Type | Method and Description |
|---|---|
UserPoolType |
addUserPoolTagsEntry(String key,
String value)
The tags that are assigned to the user pool.
|
UserPoolType |
clearUserPoolTagsEntries()
Removes all the entries added into UserPoolTags.
|
boolean |
equals(Object obj) |
AccountRecoverySettingType |
getAccountRecoverySetting()
Use this setting to define which verified available method a user can use
to recover their password when they call
ForgotPassword. |
AdminCreateUserConfigType |
getAdminCreateUserConfig()
The configuration for
AdminCreateUser requests. |
List<String> |
getAliasAttributes()
Specifies the attributes that are aliased in a user pool.
|
String |
getArn()
The Amazon Resource Name (ARN) for the user pool.
|
List<String> |
getAutoVerifiedAttributes()
Specifies the attributes that are auto-verified in a user pool.
|
Date |
getCreationDate()
The date the user pool was created.
|
String |
getCustomDomain()
A custom domain name that you provide to Amazon Cognito.
|
DeviceConfigurationType |
getDeviceConfiguration()
The device configuration.
|
String |
getDomain()
Holds the domain prefix if the user pool has a domain associated with it.
|
EmailConfigurationType |
getEmailConfiguration()
The email configuration.
|
String |
getEmailConfigurationFailure()
The reason why the email configuration cannot send the messages to your
users.
|
String |
getEmailVerificationMessage()
The contents of the email verification message.
|
String |
getEmailVerificationSubject()
The subject of the email verification message.
|
Integer |
getEstimatedNumberOfUsers()
A number estimating the size of the user pool.
|
String |
getId()
The ID of the user pool.
|
LambdaConfigType |
getLambdaConfig()
The AWS Lambda triggers associated with the user pool.
|
Date |
getLastModifiedDate()
The date the user pool was last modified.
|
String |
getMfaConfiguration()
Can be one of the following values:
|
String |
getName()
The name of the user pool.
|
UserPoolPolicyType |
getPolicies()
The policies associated with the user pool.
|
List<SchemaAttributeType> |
getSchemaAttributes()
A container with the schema attributes of a user pool.
|
String |
getSmsAuthenticationMessage()
The contents of the SMS authentication message.
|
SmsConfigurationType |
getSmsConfiguration()
The SMS configuration.
|
String |
getSmsConfigurationFailure()
The reason why the SMS configuration cannot send the messages to your
users.
|
String |
getSmsVerificationMessage()
The contents of the SMS verification message.
|
String |
getStatus()
The status of a user pool.
|
List<String> |
getUsernameAttributes()
Specifies whether email addresses or phone numbers can be specified as
usernames when a user signs up.
|
UsernameConfigurationType |
getUsernameConfiguration()
You can choose to enable case sensitivity on the username input for the
selected sign-in option.
|
UserPoolAddOnsType |
getUserPoolAddOns()
The user pool add-ons.
|
Map<String,String> |
getUserPoolTags()
The tags that are assigned to the user pool.
|
VerificationMessageTemplateType |
getVerificationMessageTemplate()
The template for verification messages.
|
int |
hashCode() |
void |
setAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
Use this setting to define which verified available method a user can use
to recover their password when they call
ForgotPassword. |
void |
setAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
void |
setAliasAttributes(Collection<String> aliasAttributes)
Specifies the attributes that are aliased in a user pool.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the user pool.
|
void |
setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
|
void |
setCreationDate(Date creationDate)
The date the user pool was created.
|
void |
setCustomDomain(String customDomain)
A custom domain name that you provide to Amazon Cognito.
|
void |
setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device configuration.
|
void |
setDomain(String domain)
Holds the domain prefix if the user pool has a domain associated with it.
|
void |
setEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration.
|
void |
setEmailConfigurationFailure(String emailConfigurationFailure)
The reason why the email configuration cannot send the messages to your
users.
|
void |
setEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
void |
setEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
|
void |
setEstimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
|
void |
setId(String id)
The ID of the user pool.
|
void |
setLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda triggers associated with the user pool.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date the user pool was last modified.
|
void |
setMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
void |
setName(String name)
The name of the user pool.
|
void |
setPolicies(UserPoolPolicyType policies)
The policies associated with the user pool.
|
void |
setSchemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
|
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
void |
setSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
|
void |
setSmsConfigurationFailure(String smsConfigurationFailure)
The reason why the SMS configuration cannot send the messages to your
users.
|
void |
setSmsVerificationMessage(String smsVerificationMessage)
The contents of the SMS verification message.
|
void |
setStatus(StatusType status)
The status of a user pool.
|
void |
setStatus(String status)
The status of a user pool.
|
void |
setUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as
usernames when a user signs up.
|
void |
setUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
You can choose to enable case sensitivity on the username input for the
selected sign-in option.
|
void |
setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
The user pool add-ons.
|
void |
setUserPoolTags(Map<String,String> userPoolTags)
The tags that are assigned to the user pool.
|
void |
setVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserPoolType |
withAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
Use this setting to define which verified available method a user can use
to recover their password when they call
ForgotPassword. |
UserPoolType |
withAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
UserPoolType |
withAliasAttributes(Collection<String> aliasAttributes)
Specifies the attributes that are aliased in a user pool.
|
UserPoolType |
withAliasAttributes(String... aliasAttributes)
Specifies the attributes that are aliased in a user pool.
|
UserPoolType |
withArn(String arn)
The Amazon Resource Name (ARN) for the user pool.
|
UserPoolType |
withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
|
UserPoolType |
withAutoVerifiedAttributes(String... autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
|
UserPoolType |
withCreationDate(Date creationDate)
The date the user pool was created.
|
UserPoolType |
withCustomDomain(String customDomain)
A custom domain name that you provide to Amazon Cognito.
|
UserPoolType |
withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device configuration.
|
UserPoolType |
withDomain(String domain)
Holds the domain prefix if the user pool has a domain associated with it.
|
UserPoolType |
withEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration.
|
UserPoolType |
withEmailConfigurationFailure(String emailConfigurationFailure)
The reason why the email configuration cannot send the messages to your
users.
|
UserPoolType |
withEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
UserPoolType |
withEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
|
UserPoolType |
withEstimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
|
UserPoolType |
withId(String id)
The ID of the user pool.
|
UserPoolType |
withLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda triggers associated with the user pool.
|
UserPoolType |
withLastModifiedDate(Date lastModifiedDate)
The date the user pool was last modified.
|
UserPoolType |
withMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
UserPoolType |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
UserPoolType |
withName(String name)
The name of the user pool.
|
UserPoolType |
withPolicies(UserPoolPolicyType policies)
The policies associated with the user pool.
|
UserPoolType |
withSchemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType |
withSchemaAttributes(SchemaAttributeType... schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
UserPoolType |
withSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
|
UserPoolType |
withSmsConfigurationFailure(String smsConfigurationFailure)
The reason why the SMS configuration cannot send the messages to your
users.
|
UserPoolType |
withSmsVerificationMessage(String smsVerificationMessage)
The contents of the SMS verification message.
|
UserPoolType |
withStatus(StatusType status)
The status of a user pool.
|
UserPoolType |
withStatus(String status)
The status of a user pool.
|
UserPoolType |
withUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as
usernames when a user signs up.
|
UserPoolType |
withUsernameAttributes(String... usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as
usernames when a user signs up.
|
UserPoolType |
withUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
You can choose to enable case sensitivity on the username input for the
selected sign-in option.
|
UserPoolType |
withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
The user pool add-ons.
|
UserPoolType |
withUserPoolTags(Map<String,String> userPoolTags)
The tags that are assigned to the user pool.
|
UserPoolType |
withVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
public String getId()
The ID of the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The ID of the user pool.
public void setId(String id)
The ID of the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
id - The ID of the user pool.
public UserPoolType withId(String id)
The ID of the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
id - The ID of the user pool.
public String getName()
The name of the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
The name of the user pool.
public void setName(String name)
The name of the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
name - The name of the user pool.
public UserPoolType withName(String name)
The name of the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
name - The name of the user pool.
public UserPoolPolicyType getPolicies()
The policies associated with the user pool.
The policies associated with the user pool.
public void setPolicies(UserPoolPolicyType policies)
The policies associated with the user pool.
policies - The policies associated with the user pool.
public UserPoolType withPolicies(UserPoolPolicyType policies)
The policies associated with the user pool.
Returns a reference to this object so that method calls can be chained together.
policies - The policies associated with the user pool.
public LambdaConfigType getLambdaConfig()
The AWS Lambda triggers associated with the user pool.
The AWS Lambda triggers associated with the user pool.
public void setLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda triggers associated with the user pool.
lambdaConfig - The AWS Lambda triggers associated with the user pool.
public UserPoolType withLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda triggers associated with the user pool.
Returns a reference to this object so that method calls can be chained together.
lambdaConfig - The AWS Lambda triggers associated with the user pool.
public String getStatus()
The status of a user pool.
Constraints:
Allowed Values: Enabled, Disabled
The status of a user pool.
StatusTypepublic void setStatus(String status)
The status of a user pool.
Constraints:
Allowed Values: Enabled, Disabled
status - The status of a user pool.
StatusTypepublic UserPoolType withStatus(String status)
The status of a user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Enabled, Disabled
status - The status of a user pool.
StatusTypepublic void setStatus(StatusType status)
The status of a user pool.
Constraints:
Allowed Values: Enabled, Disabled
status - The status of a user pool.
StatusTypepublic UserPoolType withStatus(StatusType status)
The status of a user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Enabled, Disabled
status - The status of a user pool.
StatusTypepublic Date getLastModifiedDate()
The date the user pool was last modified.
The date the user pool was last modified.
public void setLastModifiedDate(Date lastModifiedDate)
The date the user pool was last modified.
lastModifiedDate - The date the user pool was last modified.
public UserPoolType withLastModifiedDate(Date lastModifiedDate)
The date the user pool was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date the user pool was last modified.
public Date getCreationDate()
The date the user pool was created.
The date the user pool was created.
public void setCreationDate(Date creationDate)
The date the user pool was created.
creationDate - The date the user pool was created.
public UserPoolType withCreationDate(Date creationDate)
The date the user pool was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The date the user pool was created.
public List<SchemaAttributeType> getSchemaAttributes()
A container with the schema attributes of a user pool.
A container with the schema attributes of a user pool.
public void setSchemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
schemaAttributes - A container with the schema attributes of a user pool.
public UserPoolType withSchemaAttributes(SchemaAttributeType... schemaAttributes)
A container with the schema attributes of a user pool.
Returns a reference to this object so that method calls can be chained together.
schemaAttributes - A container with the schema attributes of a user pool.
public UserPoolType withSchemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
Returns a reference to this object so that method calls can be chained together.
schemaAttributes - A container with the schema attributes of a user pool.
public List<String> getAutoVerifiedAttributes()
Specifies the attributes that are auto-verified in a user pool.
Specifies the attributes that are auto-verified in a user pool.
public void setAutoVerifiedAttributes(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.
public UserPoolType withAutoVerifiedAttributes(String... autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
Returns a reference to this object so that method calls can be chained together.
autoVerifiedAttributes - Specifies the attributes that are auto-verified in a user pool.
public UserPoolType withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
Specifies the attributes that are auto-verified in a user pool.
Returns a reference to this object so that method calls can be chained together.
autoVerifiedAttributes - Specifies the attributes that are auto-verified in a user pool.
public List<String> getAliasAttributes()
Specifies the attributes that are aliased in a user pool.
Specifies the attributes that are aliased in a user pool.
public void setAliasAttributes(Collection<String> aliasAttributes)
Specifies the attributes that are aliased in a user pool.
aliasAttributes - Specifies the attributes that are aliased in a user pool.
public UserPoolType withAliasAttributes(String... aliasAttributes)
Specifies the attributes that are aliased in a user pool.
Returns a reference to this object so that method calls can be chained together.
aliasAttributes - Specifies the attributes that are aliased in a user pool.
public UserPoolType withAliasAttributes(Collection<String> aliasAttributes)
Specifies the attributes that are aliased in a user pool.
Returns a reference to this object so that method calls can be chained together.
aliasAttributes - Specifies the attributes that are aliased in a user pool.
public List<String> getUsernameAttributes()
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
public void setUsernameAttributes(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.
public UserPoolType withUsernameAttributes(String... usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
Returns a reference to this object so that method calls can be chained together.
usernameAttributes - Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
public UserPoolType withUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
Returns a reference to this object so that method calls can be chained together.
usernameAttributes - Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
public String getSmsVerificationMessage()
The contents of the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
The contents of the SMS verification message.
public void setSmsVerificationMessage(String smsVerificationMessage)
The contents of the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsVerificationMessage - The contents of the SMS verification message.
public UserPoolType withSmsVerificationMessage(String smsVerificationMessage)
The contents of the SMS verification message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsVerificationMessage - The contents of the SMS verification message.
public String getEmailVerificationMessage()
The contents of the email verification message.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
The contents of the email verification message.
public void setEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
emailVerificationMessage - The contents of the email verification message.
public UserPoolType withEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
emailVerificationMessage - The contents of the email verification message.
public String getEmailVerificationSubject()
The subject of the email verification message.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
The subject of the email verification message.
public void setEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
emailVerificationSubject - The subject of the email verification message.
public UserPoolType withEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
emailVerificationSubject - The subject of the email verification message.
public VerificationMessageTemplateType getVerificationMessageTemplate()
The template for verification messages.
The template for verification messages.
public void setVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
verificationMessageTemplate - The template for verification messages.
public UserPoolType withVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
Returns a reference to this object so that method calls can be chained together.
verificationMessageTemplate - The template for verification messages.
public String getSmsAuthenticationMessage()
The contents of the SMS authentication message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
The contents of the SMS authentication message.
public void setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsAuthenticationMessage - The contents of the SMS authentication message.
public UserPoolType withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsAuthenticationMessage - The contents of the SMS authentication message.
public String getMfaConfiguration()
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.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
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.
UserPoolMfaTypepublic void setMfaConfiguration(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.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
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.
UserPoolMfaTypepublic UserPoolType withMfaConfiguration(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
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.
UserPoolMfaTypepublic void setMfaConfiguration(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.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
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.
UserPoolMfaTypepublic UserPoolType withMfaConfiguration(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
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.
UserPoolMfaTypepublic DeviceConfigurationType getDeviceConfiguration()
The device configuration.
The device configuration.
public void setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device configuration.
deviceConfiguration - The device configuration.
public UserPoolType withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device configuration.
Returns a reference to this object so that method calls can be chained together.
deviceConfiguration - The device configuration.
public Integer getEstimatedNumberOfUsers()
A number estimating the size of the user pool.
A number estimating the size of the user pool.
public void setEstimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
estimatedNumberOfUsers - A number estimating the size of the user pool.
public UserPoolType withEstimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
Returns a reference to this object so that method calls can be chained together.
estimatedNumberOfUsers - A number estimating the size of the user pool.
public EmailConfigurationType getEmailConfiguration()
The email configuration.
The email configuration.
public void setEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration.
emailConfiguration - The email configuration.
public UserPoolType withEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration.
Returns a reference to this object so that method calls can be chained together.
emailConfiguration - The email configuration.
public SmsConfigurationType getSmsConfiguration()
The SMS configuration.
The SMS configuration.
public void setSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
smsConfiguration - The SMS configuration.
public UserPoolType withSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
Returns a reference to this object so that method calls can be chained together.
smsConfiguration - The SMS configuration.
public Map<String,String> getUserPoolTags()
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
public void setUserPoolTags(Map<String,String> userPoolTags)
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
userPoolTags - The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
public UserPoolType withUserPoolTags(Map<String,String> userPoolTags)
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
Returns a reference to this object so that method calls can be chained together.
userPoolTags - The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
public UserPoolType addUserPoolTagsEntry(String key, String value)
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
The method adds a new key-value pair into UserPoolTags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into UserPoolTags.value - The corresponding value of the entry to be added into
UserPoolTags.public UserPoolType clearUserPoolTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public String getSmsConfigurationFailure()
The reason why the SMS configuration cannot send the messages to your users.
The reason why the SMS configuration cannot send the messages to your users.
public void setSmsConfigurationFailure(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.
public UserPoolType withSmsConfigurationFailure(String smsConfigurationFailure)
The reason why the SMS configuration cannot send the messages to your users.
Returns a reference to this object so that method calls can be chained together.
smsConfigurationFailure - The reason why the SMS configuration cannot send the messages to your users.
public String getEmailConfigurationFailure()
The reason why the email configuration cannot send the messages to your users.
The reason why the email configuration cannot send the messages to your users.
public void setEmailConfigurationFailure(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.
public UserPoolType withEmailConfigurationFailure(String emailConfigurationFailure)
The reason why the email configuration cannot send the messages to your users.
Returns a reference to this object so that method calls can be chained together.
emailConfigurationFailure - The reason why the email configuration cannot send the messages to your users.
public String getDomain()
Holds the domain prefix if the user pool has a domain associated with it.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
Holds the domain prefix if the user pool has a domain associated with it.
public void setDomain(String domain)
Holds the domain prefix if the user pool has a domain associated with it.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
domain - Holds the domain prefix if the user pool has a domain associated with it.
public UserPoolType withDomain(String domain)
Holds the domain prefix if the user pool has a domain associated with it.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
domain - Holds the domain prefix if the user pool has a domain associated with it.
public String getCustomDomain()
A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
A custom domain name that you provide to Amazon Cognito. This
parameter applies only if you use a custom domain to host the
sign-up and sign-in pages for your application. For example:
auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
public void setCustomDomain(String customDomain)
A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
customDomain -
A custom domain name that you provide to Amazon Cognito. This
parameter applies only if you use a custom domain to host the
sign-up and sign-in pages for your application. For example:
auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
public UserPoolType withCustomDomain(String customDomain)
A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
customDomain -
A custom domain name that you provide to Amazon Cognito. This
parameter applies only if you use a custom domain to host the
sign-up and sign-in pages for your application. For example:
auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
public AdminCreateUserConfigType getAdminCreateUserConfig()
The configuration for AdminCreateUser requests.
The configuration for AdminCreateUser requests.
public void setAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser requests.
adminCreateUserConfig -
The configuration for AdminCreateUser requests.
public UserPoolType withAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser requests.
Returns a reference to this object so that method calls can be chained together.
adminCreateUserConfig -
The configuration for AdminCreateUser requests.
public UserPoolAddOnsType getUserPoolAddOns()
The user pool add-ons.
The user pool add-ons.
public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
The user pool add-ons.
userPoolAddOns - The user pool add-ons.
public UserPoolType withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
The user pool add-ons.
Returns a reference to this object so that method calls can be chained together.
userPoolAddOns - The user pool add-ons.
public UsernameConfigurationType getUsernameConfiguration()
You can choose to enable case sensitivity on the username input for the
selected sign-in option. For example, when this is set to
False, users will be able to sign in using either "username"
or "Username". This configuration is immutable once it has been set. For
more information, see .
You can choose to enable case sensitivity on the username input
for the selected sign-in option. For example, when this is set to
False, users will be able to sign in using either
"username" or "Username". This configuration is immutable once it
has been set. For more information, see .
public void setUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
You can choose to enable case sensitivity on the username input for the
selected sign-in option. For example, when this is set to
False, users will be able to sign in using either "username"
or "Username". This configuration is immutable once it has been set. For
more information, see .
usernameConfiguration -
You can choose to enable case sensitivity on the username
input for the selected sign-in option. For example, when this
is set to False, users will be able to sign in
using either "username" or "Username". This configuration is
immutable once it has been set. For more information, see .
public UserPoolType withUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
You can choose to enable case sensitivity on the username input for the
selected sign-in option. For example, when this is set to
False, users will be able to sign in using either "username"
or "Username". This configuration is immutable once it has been set. For
more information, see .
Returns a reference to this object so that method calls can be chained together.
usernameConfiguration -
You can choose to enable case sensitivity on the username
input for the selected sign-in option. For example, when this
is set to False, users will be able to sign in
using either "username" or "Username". This configuration is
immutable once it has been set. For more information, see .
public String getArn()
The Amazon Resource Name (ARN) for the user pool.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
The Amazon Resource Name (ARN) for the user pool.
public void setArn(String arn)
The Amazon Resource Name (ARN) for the user pool.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
arn - The Amazon Resource Name (ARN) for the user pool.
public UserPoolType withArn(String arn)
The Amazon Resource Name (ARN) for the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
arn - The Amazon Resource Name (ARN) for the user pool.
public AccountRecoverySettingType getAccountRecoverySetting()
Use this setting to define which verified available method a user can use
to recover their password when they call ForgotPassword. It
allows you to define a preferred method when a user has more than one
method available. With this setting, SMS does not qualify for a valid
password recovery mechanism if the user also has SMS MFA enabled. In the
absence of this setting, Cognito uses the legacy behavior to determine
the recovery method where SMS is preferred over email.
Use this setting to define which verified available method a user
can use to recover their password when they call
ForgotPassword. It allows you to define a preferred
method when a user has more than one method available. With this
setting, SMS does not qualify for a valid password recovery
mechanism if the user also has SMS MFA enabled. In the absence of
this setting, Cognito uses the legacy behavior to determine the
recovery method where SMS is preferred over email.
public void setAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
Use this setting to define which verified available method a user can use
to recover their password when they call ForgotPassword. It
allows you to define a preferred method when a user has more than one
method available. With this setting, SMS does not qualify for a valid
password recovery mechanism if the user also has SMS MFA enabled. In the
absence of this setting, Cognito uses the legacy behavior to determine
the recovery method where SMS is preferred over email.
accountRecoverySetting -
Use this setting to define which verified available method a
user can use to recover their password when they call
ForgotPassword. It allows you to define a
preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid
password recovery mechanism if the user also has SMS MFA
enabled. In the absence of this setting, Cognito uses the
legacy behavior to determine the recovery method where SMS is
preferred over email.
public UserPoolType withAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
Use this setting to define which verified available method a user can use
to recover their password when they call ForgotPassword. It
allows you to define a preferred method when a user has more than one
method available. With this setting, SMS does not qualify for a valid
password recovery mechanism if the user also has SMS MFA enabled. In the
absence of this setting, Cognito uses the legacy behavior to determine
the recovery method where SMS is preferred over email.
Returns a reference to this object so that method calls can be chained together.
accountRecoverySetting -
Use this setting to define which verified available method a
user can use to recover their password when they call
ForgotPassword. It allows you to define a
preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid
password recovery mechanism if the user also has SMS MFA
enabled. In the absence of this setting, Cognito uses the
legacy behavior to determine the recovery method where SMS is
preferred over email.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.