@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to create a user pool.
NOOP
Constructor and Description |
---|
CreateUserPoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserPoolRequest |
addUserPoolTagsEntry(String key,
String value)
Add a single UserPoolTags entry
|
CreateUserPoolRequest |
clearUserPoolTagsEntries()
Removes all the entries added into UserPoolTags.
|
CreateUserPoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AccountRecoverySettingType |
getAccountRecoverySetting()
The available verified method a user can use to recover their password when they call
ForgotPassword
. |
AdminCreateUserConfigType |
getAdminCreateUserConfig()
The configuration for
AdminCreateUser requests. |
List<String> |
getAliasAttributes()
Attributes supported as an alias for this user pool.
|
List<String> |
getAutoVerifiedAttributes()
The attributes to be auto-verified.
|
String |
getDeletionProtection()
When active,
DeletionProtection prevents accidental deletion of your user pool. |
DeviceConfigurationType |
getDeviceConfiguration()
The device-remembering configuration for a user pool.
|
EmailConfigurationType |
getEmailConfiguration()
The email configuration of your user pool.
|
String |
getEmailVerificationMessage()
This parameter is no longer used.
|
String |
getEmailVerificationSubject()
This parameter is no longer used.
|
LambdaConfigType |
getLambdaConfig()
The Lambda trigger configuration information for the new user pool.
|
String |
getMfaConfiguration()
Specifies MFA configuration details.
|
UserPoolPolicyType |
getPolicies()
The policies associated with the new user pool.
|
String |
getPoolName()
A string used to name the user pool.
|
List<SchemaAttributeType> |
getSchema()
An array of schema attributes for the new user pool.
|
String |
getSmsAuthenticationMessage()
A string representing the SMS authentication message.
|
SmsConfigurationType |
getSmsConfiguration()
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from
your Amazon Web Services account through Amazon Simple Notification Service.
|
String |
getSmsVerificationMessage()
This parameter is no longer used.
|
UserAttributeUpdateSettingsType |
getUserAttributeUpdateSettings()
The settings for updates to user attributes.
|
List<String> |
getUsernameAttributes()
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
UsernameConfigurationType |
getUsernameConfiguration()
Case sensitivity on the username input for the selected sign-in option.
|
UserPoolAddOnsType |
getUserPoolAddOns()
User pool add-ons.
|
Map<String,String> |
getUserPoolTags()
The tag keys and values to assign to the user pool.
|
VerificationMessageTemplateType |
getVerificationMessageTemplate()
The template for the verification message that the user sees when the app requests permission to access the
user's information.
|
int |
hashCode() |
void |
setAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
The available verified 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)
Attributes supported as an alias for this user pool.
|
void |
setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified.
|
void |
setDeletionProtection(DeletionProtectionType deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
void |
setDeletionProtection(String deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
void |
setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool.
|
void |
setEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool.
|
void |
setEmailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used.
|
void |
setEmailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used.
|
void |
setLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
|
void |
setMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
|
void |
setPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
|
void |
setPoolName(String poolName)
A string used to name the user pool.
|
void |
setSchema(Collection<SchemaAttributeType> schema)
An array of schema attributes for the new user pool.
|
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
|
void |
setSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from
your Amazon Web Services account through Amazon Simple Notification Service.
|
void |
setSmsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used.
|
void |
setUserAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
The settings for updates to user attributes.
|
void |
setUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
void |
setUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
Case sensitivity on the username input for the selected sign-in option.
|
void |
setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
User pool add-ons.
|
void |
setUserPoolTags(Map<String,String> userPoolTags)
The tag keys and values to assign to the user pool.
|
void |
setVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for the verification message that the user sees when the app requests permission to access the
user's information.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserPoolRequest |
withAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
The available verified method a user can use to recover their password when they call
ForgotPassword
. |
CreateUserPoolRequest |
withAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
CreateUserPoolRequest |
withAliasAttributes(AliasAttributeType... aliasAttributes)
Attributes supported as an alias for this user pool.
|
CreateUserPoolRequest |
withAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool.
|
CreateUserPoolRequest |
withAliasAttributes(String... aliasAttributes)
Attributes supported as an alias for this user pool.
|
CreateUserPoolRequest |
withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified.
|
CreateUserPoolRequest |
withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes to be auto-verified.
|
CreateUserPoolRequest |
withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes to be auto-verified.
|
CreateUserPoolRequest |
withDeletionProtection(DeletionProtectionType deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
CreateUserPoolRequest |
withDeletionProtection(String deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
CreateUserPoolRequest |
withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool.
|
CreateUserPoolRequest |
withEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool.
|
CreateUserPoolRequest |
withEmailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used.
|
CreateUserPoolRequest |
withEmailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used.
|
CreateUserPoolRequest |
withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
|
CreateUserPoolRequest |
withMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
|
CreateUserPoolRequest |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
|
CreateUserPoolRequest |
withPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
|
CreateUserPoolRequest |
withPoolName(String poolName)
A string used to name the user pool.
|
CreateUserPoolRequest |
withSchema(Collection<SchemaAttributeType> schema)
An array of schema attributes for the new user pool.
|
CreateUserPoolRequest |
withSchema(SchemaAttributeType... schema)
An array of schema attributes for the new user pool.
|
CreateUserPoolRequest |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
|
CreateUserPoolRequest |
withSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from
your Amazon Web Services account through Amazon Simple Notification Service.
|
CreateUserPoolRequest |
withSmsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used.
|
CreateUserPoolRequest |
withUserAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
The settings for updates to user attributes.
|
CreateUserPoolRequest |
withUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
CreateUserPoolRequest |
withUsernameAttributes(String... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
CreateUserPoolRequest |
withUsernameAttributes(UsernameAttributeType... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
CreateUserPoolRequest |
withUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
Case sensitivity on the username input for the selected sign-in option.
|
CreateUserPoolRequest |
withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
User pool add-ons.
|
CreateUserPoolRequest |
withUserPoolTags(Map<String,String> userPoolTags)
The tag keys and values to assign to the user pool.
|
CreateUserPoolRequest |
withVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for the verification message that the user sees when the app requests permission to access the
user's information.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPoolName(String poolName)
A string used to name the user pool.
poolName
- A string used to name the user pool.public String getPoolName()
A string used to name the user pool.
public CreateUserPoolRequest withPoolName(String poolName)
A string used to name the user pool.
poolName
- A string used to name the user pool.public void setPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
policies
- The policies associated with the new user pool.public UserPoolPolicyType getPolicies()
The policies associated with the new user pool.
public CreateUserPoolRequest withPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
policies
- The policies associated with the new user pool.public void setDeletionProtection(String deletionProtection)
When active, DeletionProtection
prevents accidental deletion of your user pool. Before you can
delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito returns
an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an UpdateUserPool
API request.
deletionProtection
- When active, DeletionProtection
prevents accidental deletion of your user pool. Before you
can delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito
returns an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an
UpdateUserPool
API request.
DeletionProtectionType
public String getDeletionProtection()
When active, DeletionProtection
prevents accidental deletion of your user pool. Before you can
delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito returns
an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an UpdateUserPool
API request.
DeletionProtection
prevents accidental deletion of your user pool. Before you
can delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito
returns an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an
UpdateUserPool
API request.
DeletionProtectionType
public CreateUserPoolRequest withDeletionProtection(String deletionProtection)
When active, DeletionProtection
prevents accidental deletion of your user pool. Before you can
delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito returns
an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an UpdateUserPool
API request.
deletionProtection
- When active, DeletionProtection
prevents accidental deletion of your user pool. Before you
can delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito
returns an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an
UpdateUserPool
API request.
DeletionProtectionType
public void setDeletionProtection(DeletionProtectionType deletionProtection)
When active, DeletionProtection
prevents accidental deletion of your user pool. Before you can
delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito returns
an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an UpdateUserPool
API request.
deletionProtection
- When active, DeletionProtection
prevents accidental deletion of your user pool. Before you
can delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito
returns an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an
UpdateUserPool
API request.
DeletionProtectionType
public CreateUserPoolRequest withDeletionProtection(DeletionProtectionType deletionProtection)
When active, DeletionProtection
prevents accidental deletion of your user pool. Before you can
delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito returns
an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an UpdateUserPool
API request.
deletionProtection
- When active, DeletionProtection
prevents accidental deletion of your user pool. Before you
can delete a user pool that you have protected against deletion, you must deactivate this feature.
When you try to delete a protected user pool in a DeleteUserPool
API request, Amazon Cognito
returns an InvalidParameterException
error. To delete a protected user pool, send a new
DeleteUserPool
request after you deactivate deletion protection in an
UpdateUserPool
API request.
DeletionProtectionType
public void setLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
lambdaConfig
- The Lambda trigger configuration information for the new user pool. In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
public LambdaConfigType getLambdaConfig()
The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
public CreateUserPoolRequest withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
lambdaConfig
- The Lambda trigger configuration information for the new user pool. In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
public List<String> getAutoVerifiedAttributes()
The attributes to be auto-verified. Possible values: email, phone_number.
VerifiedAttributeType
public void setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email, phone_number.VerifiedAttributeType
public CreateUserPoolRequest withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
NOTE: This method appends the values to the existing list (if any). Use
setAutoVerifiedAttributes(java.util.Collection)
or
withAutoVerifiedAttributes(java.util.Collection)
if you want to override the existing values.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email, phone_number.VerifiedAttributeType
public CreateUserPoolRequest withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email, phone_number.VerifiedAttributeType
public CreateUserPoolRequest withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email, phone_number.VerifiedAttributeType
public List<String> getAliasAttributes()
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
AliasAttributeType
public void setAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible values: phone_number, email,
or preferred_username.AliasAttributeType
public CreateUserPoolRequest withAliasAttributes(String... aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
NOTE: This method appends the values to the existing list (if any). Use
setAliasAttributes(java.util.Collection)
or withAliasAttributes(java.util.Collection)
if you
want to override the existing values.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible values: phone_number, email,
or preferred_username.AliasAttributeType
public CreateUserPoolRequest withAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible values: phone_number, email,
or preferred_username.AliasAttributeType
public CreateUserPoolRequest withAliasAttributes(AliasAttributeType... aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible values: phone_number, email,
or preferred_username.AliasAttributeType
public List<String> getUsernameAttributes()
Specifies whether a user can use an email address or phone number as a username when they sign up.
UsernameAttributeType
public void setUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes
- Specifies whether a user can use an email address or phone number as a username when they sign up.UsernameAttributeType
public CreateUserPoolRequest withUsernameAttributes(String... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
NOTE: This method appends the values to the existing list (if any). Use
setUsernameAttributes(java.util.Collection)
or withUsernameAttributes(java.util.Collection)
if
you want to override the existing values.
usernameAttributes
- Specifies whether a user can use an email address or phone number as a username when they sign up.UsernameAttributeType
public CreateUserPoolRequest withUsernameAttributes(Collection<String> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes
- Specifies whether a user can use an email address or phone number as a username when they sign up.UsernameAttributeType
public CreateUserPoolRequest withUsernameAttributes(UsernameAttributeType... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes
- Specifies whether a user can use an email address or phone number as a username when they sign up.UsernameAttributeType
public void setSmsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used. See VerificationMessageTemplateType.
smsVerificationMessage
- This parameter is no longer used. See VerificationMessageTemplateType.public String getSmsVerificationMessage()
This parameter is no longer used. See VerificationMessageTemplateType.
public CreateUserPoolRequest withSmsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used. See VerificationMessageTemplateType.
smsVerificationMessage
- This parameter is no longer used. See VerificationMessageTemplateType.public void setEmailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used. See VerificationMessageTemplateType.
emailVerificationMessage
- This parameter is no longer used. See VerificationMessageTemplateType.public String getEmailVerificationMessage()
This parameter is no longer used. See VerificationMessageTemplateType.
public CreateUserPoolRequest withEmailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used. See VerificationMessageTemplateType.
emailVerificationMessage
- This parameter is no longer used. See VerificationMessageTemplateType.public void setEmailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used. See VerificationMessageTemplateType.
emailVerificationSubject
- This parameter is no longer used. See VerificationMessageTemplateType.public String getEmailVerificationSubject()
This parameter is no longer used. See VerificationMessageTemplateType.
public CreateUserPoolRequest withEmailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used. See VerificationMessageTemplateType.
emailVerificationSubject
- This parameter is no longer used. See VerificationMessageTemplateType.public void setVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for the verification message that the user sees when the app requests permission to access the user's information.
verificationMessageTemplate
- The template for the verification message that the user sees when the app requests permission to access
the user's information.public VerificationMessageTemplateType getVerificationMessageTemplate()
The template for the verification message that the user sees when the app requests permission to access the user's information.
public CreateUserPoolRequest withVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for the verification message that the user sees when the app requests permission to access the user's information.
verificationMessageTemplate
- The template for the verification message that the user sees when the app requests permission to access
the user's information.public void setSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
smsAuthenticationMessage
- A string representing the SMS authentication message.public String getSmsAuthenticationMessage()
A string representing the SMS authentication message.
public CreateUserPoolRequest withSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
smsAuthenticationMessage
- A string representing the SMS authentication message.public void setMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public String getMfaConfiguration()
Specifies MFA configuration details.
UserPoolMfaType
public CreateUserPoolRequest withMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public CreateUserPoolRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public void setUserAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to
handle changes to the value of your users' email address and phone number attributes. For more information, see
Verifying updates to email addresses and phone numbers.
userAttributeUpdateSettings
- The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how
to handle changes to the value of your users' email address and phone number attributes. For more
information, see Verifying updates to email addresses and phone numbers.public UserAttributeUpdateSettingsType getUserAttributeUpdateSettings()
The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to
handle changes to the value of your users' email address and phone number attributes. For more information, see
Verifying updates to email addresses and phone numbers.
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how
to handle changes to the value of your users' email address and phone number attributes. For more
information, see Verifying updates to email addresses and phone numbers.public CreateUserPoolRequest withUserAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to
handle changes to the value of your users' email address and phone number attributes. For more information, see
Verifying updates to email addresses and phone numbers.
userAttributeUpdateSettings
- The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how
to handle changes to the value of your users' email address and phone number attributes. For more
information, see Verifying updates to email addresses and phone numbers.public void setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any DeviceConfiguration
field, you activate the Amazon Cognito
device-remembering feature.
deviceConfiguration
- The device-remembering configuration for a user pool. A null value indicates that you have deactivated
device remembering in your user pool.
When you provide a value for any DeviceConfiguration
field, you activate the Amazon Cognito
device-remembering feature.
public DeviceConfigurationType getDeviceConfiguration()
The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any DeviceConfiguration
field, you activate the Amazon Cognito
device-remembering feature.
When you provide a value for any DeviceConfiguration
field, you activate the Amazon Cognito
device-remembering feature.
public CreateUserPoolRequest withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any DeviceConfiguration
field, you activate the Amazon Cognito
device-remembering feature.
deviceConfiguration
- The device-remembering configuration for a user pool. A null value indicates that you have deactivated
device remembering in your user pool.
When you provide a value for any DeviceConfiguration
field, you activate the Amazon Cognito
device-remembering feature.
public void setEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages from your user pool.
emailConfiguration
- The email configuration of your user pool. The email configuration type sets your preferred sending
method, Amazon Web Services Region, and sender for messages from your user pool.public EmailConfigurationType getEmailConfiguration()
The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages from your user pool.
public CreateUserPoolRequest withEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages from your user pool.
emailConfiguration
- The email configuration of your user pool. The email configuration type sets your preferred sending
method, Amazon Web Services Region, and sender for messages from your user pool.public void setSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
smsConfiguration
- The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message
from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages
with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an
Identity and Access Management (IAM) role in your Amazon Web Services account.public SmsConfigurationType getSmsConfiguration()
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
public CreateUserPoolRequest withSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
smsConfiguration
- The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message
from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages
with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an
Identity and Access Management (IAM) role in your Amazon Web Services account.public Map<String,String> getUserPoolTags()
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
public void setUserPoolTags(Map<String,String> userPoolTags)
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
userPoolTags
- The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and
manage user pools in different ways, such as by purpose, owner, environment, or other criteria.public CreateUserPoolRequest withUserPoolTags(Map<String,String> userPoolTags)
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
userPoolTags
- The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and
manage user pools in different ways, such as by purpose, owner, environment, or other criteria.public CreateUserPoolRequest addUserPoolTagsEntry(String key, String value)
public CreateUserPoolRequest clearUserPoolTagsEntries()
public void setAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser
requests.
adminCreateUserConfig
- The configuration for AdminCreateUser
requests.public AdminCreateUserConfigType getAdminCreateUserConfig()
The configuration for AdminCreateUser
requests.
AdminCreateUser
requests.public CreateUserPoolRequest withAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser
requests.
adminCreateUserConfig
- The configuration for AdminCreateUser
requests.public List<SchemaAttributeType> getSchema()
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
public void setSchema(Collection<SchemaAttributeType> schema)
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
schema
- An array of schema attributes for the new user pool. These attributes can be standard or custom
attributes.public CreateUserPoolRequest withSchema(SchemaAttributeType... schema)
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
NOTE: This method appends the values to the existing list (if any). Use
setSchema(java.util.Collection)
or withSchema(java.util.Collection)
if you want to override the
existing values.
schema
- An array of schema attributes for the new user pool. These attributes can be standard or custom
attributes.public CreateUserPoolRequest withSchema(Collection<SchemaAttributeType> schema)
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
schema
- An array of schema attributes for the new user pool. These attributes can be standard or custom
attributes.public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
User pool add-ons. Contains settings for activation of advanced security features. To log user security
information but take no action, set to AUDIT
. To configure automatic security responses to risky
traffic to your user pool, set to ENFORCED
.
For more information, see Adding advanced security to a user pool.
userPoolAddOns
- User pool add-ons. Contains settings for activation of advanced security features. To log user security
information but take no action, set to AUDIT
. To configure automatic security responses to
risky traffic to your user pool, set to ENFORCED
.
For more information, see Adding advanced security to a user pool.
public UserPoolAddOnsType getUserPoolAddOns()
User pool add-ons. Contains settings for activation of advanced security features. To log user security
information but take no action, set to AUDIT
. To configure automatic security responses to risky
traffic to your user pool, set to ENFORCED
.
For more information, see Adding advanced security to a user pool.
AUDIT
. To configure automatic security responses to
risky traffic to your user pool, set to ENFORCED
.
For more information, see Adding advanced security to a user pool.
public CreateUserPoolRequest withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
User pool add-ons. Contains settings for activation of advanced security features. To log user security
information but take no action, set to AUDIT
. To configure automatic security responses to risky
traffic to your user pool, set to ENFORCED
.
For more information, see Adding advanced security to a user pool.
userPoolAddOns
- User pool add-ons. Contains settings for activation of advanced security features. To log user security
information but take no action, set to AUDIT
. To configure automatic security responses to
risky traffic to your user pool, set to ENFORCED
.
For more information, see Adding advanced security to a user pool.
public void setUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters.
For example, username
, USERNAME
, or UserName
, or for email,
email@example.com
or EMaiL@eXamplE.Com
. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case
insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from
being assigned to the same attribute for a different user.
This configuration is immutable after you set it. For more information, see UsernameConfigurationType.
usernameConfiguration
- Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase
letters. For example, username
, USERNAME
, or UserName
, or for
email, email@example.com
or EMaiL@eXamplE.Com
. For most use cases, set case
sensitivity to False
(case insensitive) as a best practice. When usernames and email
addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents
a case variation from being assigned to the same attribute for a different user.
This configuration is immutable after you set it. For more information, see UsernameConfigurationType.
public UsernameConfigurationType getUsernameConfiguration()
Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters.
For example, username
, USERNAME
, or UserName
, or for email,
email@example.com
or EMaiL@eXamplE.Com
. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case
insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from
being assigned to the same attribute for a different user.
This configuration is immutable after you set it. For more information, see UsernameConfigurationType.
False
(case insensitive), users can sign in with any combination of capital and lowercase
letters. For example, username
, USERNAME
, or UserName
, or for
email, email@example.com
or EMaiL@eXamplE.Com
. For most use cases, set case
sensitivity to False
(case insensitive) as a best practice. When usernames and email
addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and
prevents a case variation from being assigned to the same attribute for a different user.
This configuration is immutable after you set it. For more information, see UsernameConfigurationType.
public CreateUserPoolRequest withUsernameConfiguration(UsernameConfigurationType usernameConfiguration)
Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters.
For example, username
, USERNAME
, or UserName
, or for email,
email@example.com
or EMaiL@eXamplE.Com
. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case
insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from
being assigned to the same attribute for a different user.
This configuration is immutable after you set it. For more information, see UsernameConfigurationType.
usernameConfiguration
- Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase
letters. For example, username
, USERNAME
, or UserName
, or for
email, email@example.com
or EMaiL@eXamplE.Com
. For most use cases, set case
sensitivity to False
(case insensitive) as a best practice. When usernames and email
addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents
a case variation from being assigned to the same attribute for a different user.
This configuration is immutable after you set it. For more information, see UsernameConfigurationType.
public void setAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
The available verified method a user can use to recover their password when they call ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this
setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor
authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to
determine the recovery method where SMS is preferred through email.
accountRecoverySetting
- The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more
than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism
if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting,
Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through
email.public AccountRecoverySettingType getAccountRecoverySetting()
The available verified method a user can use to recover their password when they call ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this
setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor
authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to
determine the recovery method where SMS is preferred through email.
ForgotPassword
. You can use this setting to define a preferred method when a user has more
than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism
if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting,
Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through
email.public CreateUserPoolRequest withAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
The available verified method a user can use to recover their password when they call ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this
setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor
authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to
determine the recovery method where SMS is preferred through email.
accountRecoverySetting
- The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more
than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism
if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting,
Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through
email.public String toString()
toString
in class Object
Object.toString()
public CreateUserPoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()