@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUserPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to update the user pool.
NOOP
Constructor and Description |
---|
UpdateUserPoolRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserPoolRequest |
addUserPoolTagsEntry(String key,
String value)
Add a single UserPoolTags entry
|
UpdateUserPoolRequest |
clearUserPoolTagsEntries()
Removes all the entries added into UserPoolTags.
|
UpdateUserPoolRequest |
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> |
getAutoVerifiedAttributes()
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
|
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 configuration information from the request to update the user pool.
|
String |
getMfaConfiguration()
Possible values include:
|
UserPoolPolicyType |
getPolicies()
A container with the policies you want to update in a user pool.
|
String |
getSmsAuthenticationMessage()
The contents of 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.
|
UserPoolAddOnsType |
getUserPoolAddOns()
User pool add-ons.
|
String |
getUserPoolId()
The user pool ID for the user pool you want to update.
|
Map<String,String> |
getUserPoolTags()
The tag keys and values to assign to the user pool.
|
VerificationMessageTemplateType |
getVerificationMessageTemplate()
The template for verification messages.
|
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 |
setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
|
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 configuration information from the request to update the user pool.
|
void |
setMfaConfiguration(String mfaConfiguration)
Possible values include:
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Possible values include:
|
void |
setPolicies(UserPoolPolicyType policies)
A container with the policies you want to update in a user pool.
|
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of 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 |
setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
User pool add-ons.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
|
void |
setUserPoolTags(Map<String,String> userPoolTags)
The tag keys and values to assign to the user pool.
|
void |
setVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
String |
toString()
Returns a string representation of this object.
|
UpdateUserPoolRequest |
withAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
The available verified method a user can use to recover their password when they call
ForgotPassword
. |
UpdateUserPoolRequest |
withAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
UpdateUserPoolRequest |
withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
|
UpdateUserPoolRequest |
withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
|
UpdateUserPoolRequest |
withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
|
UpdateUserPoolRequest |
withDeletionProtection(DeletionProtectionType deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
UpdateUserPoolRequest |
withDeletionProtection(String deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
UpdateUserPoolRequest |
withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool.
|
UpdateUserPoolRequest |
withEmailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool.
|
UpdateUserPoolRequest |
withEmailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used.
|
UpdateUserPoolRequest |
withEmailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used.
|
UpdateUserPoolRequest |
withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda configuration information from the request to update the user pool.
|
UpdateUserPoolRequest |
withMfaConfiguration(String mfaConfiguration)
Possible values include:
|
UpdateUserPoolRequest |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Possible values include:
|
UpdateUserPoolRequest |
withPolicies(UserPoolPolicyType policies)
A container with the policies you want to update in a user pool.
|
UpdateUserPoolRequest |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
UpdateUserPoolRequest |
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.
|
UpdateUserPoolRequest |
withSmsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used.
|
UpdateUserPoolRequest |
withUserAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
The settings for updates to user attributes.
|
UpdateUserPoolRequest |
withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
User pool add-ons.
|
UpdateUserPoolRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
|
UpdateUserPoolRequest |
withUserPoolTags(Map<String,String> userPoolTags)
The tag keys and values to assign to the user pool.
|
UpdateUserPoolRequest |
withVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
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 setUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
userPoolId
- The user pool ID for the user pool you want to update.public String getUserPoolId()
The user pool ID for the user pool you want to update.
public UpdateUserPoolRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
userPoolId
- The user pool ID for the user pool you want to update.public void setPolicies(UserPoolPolicyType policies)
A container with the policies you want to update in a user pool.
policies
- A container with the policies you want to update in a user pool.public UserPoolPolicyType getPolicies()
A container with the policies you want to update in a user pool.
public UpdateUserPoolRequest withPolicies(UserPoolPolicyType policies)
A container with the policies you want to update in a user pool.
policies
- A container with the policies you want to update in a 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 configuration information from the request to update the user pool.
lambdaConfig
- The Lambda configuration information from the request to update the user pool.public LambdaConfigType getLambdaConfig()
The Lambda configuration information from the request to update the user pool.
public UpdateUserPoolRequest withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda configuration information from the request to update the user pool.
lambdaConfig
- The Lambda configuration information from the request to update the user pool.public List<String> getAutoVerifiedAttributes()
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
VerifiedAttributeType
public void setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when Amazon Cognito requests to update user pools.VerifiedAttributeType
public UpdateUserPoolRequest withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
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 that are automatically verified when Amazon Cognito requests to update user pools.VerifiedAttributeType
public UpdateUserPoolRequest withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when Amazon Cognito requests to update user pools.VerifiedAttributeType
public UpdateUserPoolRequest withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are automatically verified when Amazon Cognito requests to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when Amazon Cognito requests to update user pools.VerifiedAttributeType
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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 verification messages.
verificationMessageTemplate
- The template for verification messages.public VerificationMessageTemplateType getVerificationMessageTemplate()
The template for verification messages.
public UpdateUserPoolRequest withVerificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
verificationMessageTemplate
- The template for verification messages.public void setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage
- The contents of the SMS authentication message.public String getSmsAuthenticationMessage()
The contents of the SMS authentication message.
public UpdateUserPoolRequest withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage
- The contents of the SMS authentication message.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 UpdateUserPoolRequest 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 setMfaConfiguration(String mfaConfiguration)
Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
mfaConfiguration
- Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
public String getMfaConfiguration()
Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
public UpdateUserPoolRequest withMfaConfiguration(String mfaConfiguration)
Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
mfaConfiguration
- Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
public void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
mfaConfiguration
- Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
public UpdateUserPoolRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
mfaConfiguration
- Possible values include:
OFF
- MFA tokens aren't required and can't be specified during user registration.
ON
- MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.
OPTIONAL
- Users have the option when registering to create an MFA token.
UserPoolMfaType
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 UpdateUserPoolRequest 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 email invitation and verification 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 email invitation and verification 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 email invitation and verification messages from your user pool.
public UpdateUserPoolRequest 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 email invitation and verification 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 email invitation and verification 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest addUserPoolTagsEntry(String key, String value)
public UpdateUserPoolRequest 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 UpdateUserPoolRequest withAdminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser
requests.
adminCreateUserConfig
- The configuration for AdminCreateUser
requests.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 UpdateUserPoolRequest 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 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()