public class UpdateUserPoolRequest extends AmazonWebServiceRequest implements Serializable
Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings with .
If you don't provide a value for an attribute, it will be set to the default value.
| Constructor and Description |
|---|
UpdateUserPoolRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateUserPoolRequest |
addUserPoolTagsEntry(String key,
String value)
The tag keys and values to assign to the user pool.
|
UpdateUserPoolRequest |
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> |
getAutoVerifiedAttributes()
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
DeviceConfigurationType |
getDeviceConfiguration()
Device configuration.
|
EmailConfigurationType |
getEmailConfiguration()
Email configuration.
|
String |
getEmailVerificationMessage()
The contents of the email verification message.
|
String |
getEmailVerificationSubject()
The subject of the email verification message.
|
LambdaConfigType |
getLambdaConfig()
The AWS Lambda configuration information from the request to update the
user pool.
|
String |
getMfaConfiguration()
Can be one of the following values:
|
UserPoolPolicyType |
getPolicies()
A container with the policies you wish to update in a user pool.
|
String |
getSmsAuthenticationMessage()
The contents of the SMS authentication message.
|
SmsConfigurationType |
getSmsConfiguration()
SMS configuration.
|
String |
getSmsVerificationMessage()
A container with information about the SMS verification message.
|
UserPoolAddOnsType |
getUserPoolAddOns()
Used to enable advanced security risk detection.
|
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)
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 |
setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
void |
setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
|
void |
setEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
|
void |
setEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
void |
setEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
|
void |
setLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the
user pool.
|
void |
setMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
void |
setPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
|
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
void |
setSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
|
void |
setSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
|
void |
setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
Used to enable advanced security risk detection.
|
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; useful for testing and
debugging.
|
UpdateUserPoolRequest |
withAccountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
Use this setting to define which verified available 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 the Amazon Cognito
service makes a request to update user pools.
|
UpdateUserPoolRequest |
withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
UpdateUserPoolRequest |
withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
|
UpdateUserPoolRequest |
withEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
|
UpdateUserPoolRequest |
withEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
UpdateUserPoolRequest |
withEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verification message.
|
UpdateUserPoolRequest |
withLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the
user pool.
|
UpdateUserPoolRequest |
withMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
UpdateUserPoolRequest |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
UpdateUserPoolRequest |
withPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
|
UpdateUserPoolRequest |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
UpdateUserPoolRequest |
withSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
|
UpdateUserPoolRequest |
withSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
|
UpdateUserPoolRequest |
withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
Used to enable advanced security risk detection.
|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for the user pool you want to update.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool you want to update.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool you want to update.
public UserPoolPolicyType getPolicies()
A container with the policies you wish to update in a user pool.
A container with the policies you wish to update in a user pool.
public void setPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
policies - A container with the policies you wish to update in a user pool.
public UpdateUserPoolRequest withPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
Returns a reference to this object so that method calls can be chained together.
policies - A container with the policies you wish to update in a user pool.
public LambdaConfigType getLambdaConfig()
The AWS Lambda configuration information from the request to update the user pool.
The AWS Lambda configuration information from the request to update the user pool.
public void setLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
lambdaConfig - The AWS Lambda configuration information from the request to update the user pool.
public UpdateUserPoolRequest withLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
Returns a reference to this object so that method calls can be chained together.
lambdaConfig - The AWS Lambda configuration information from the request to update the user pool.
public List<String> getAutoVerifiedAttributes()
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
public void setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes - The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
public UpdateUserPoolRequest withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
Returns a reference to this object so that method calls can be chained together.
autoVerifiedAttributes - The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
public UpdateUserPoolRequest withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
Returns a reference to this object so that method calls can be chained together.
autoVerifiedAttributes - The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
public String getSmsVerificationMessage()
A container with information about the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
A container with information about the SMS verification message.
public void setSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsVerificationMessage - A container with information about the SMS verification message.
public UpdateUserPoolRequest withSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsVerificationMessage - A container with information about 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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 UpdateUserPoolRequest 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()
Device configuration.
Device configuration.
public void setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
deviceConfiguration - Device configuration.
public UpdateUserPoolRequest withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
Returns a reference to this object so that method calls can be chained together.
deviceConfiguration - Device configuration.
public EmailConfigurationType getEmailConfiguration()
Email configuration.
Email configuration.
public void setEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
emailConfiguration - Email configuration.
public UpdateUserPoolRequest withEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
Returns a reference to this object so that method calls can be chained together.
emailConfiguration - Email configuration.
public SmsConfigurationType getSmsConfiguration()
SMS configuration.
SMS configuration.
public void setSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
smsConfiguration - SMS configuration.
public UpdateUserPoolRequest withSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
Returns a reference to this object so that method calls can be chained together.
smsConfiguration - SMS configuration.
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.
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.
Returns a reference to this object so that method calls can be chained together.
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)
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.
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 UpdateUserPoolRequest clearUserPoolTagsEntries()
Returns a reference to this object so that method calls can be chained together.
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 UpdateUserPoolRequest 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()
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
userPoolAddOns -
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
public UpdateUserPoolRequest withUserPoolAddOns(UserPoolAddOnsType userPoolAddOns)
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
Returns a reference to this object so that method calls can be chained together.
userPoolAddOns -
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
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 UpdateUserPoolRequest 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.