@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserAttributeUpdateSettingsType extends Object implements Serializable, Cloneable, StructuredPojo
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 to email addresses and phone numbers.
| Constructor and Description |
|---|
UserAttributeUpdateSettingsType() |
| Modifier and Type | Method and Description |
|---|---|
UserAttributeUpdateSettingsType |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAttributesRequireVerificationBeforeUpdate()
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the
value of that attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributesRequireVerificationBeforeUpdate(Collection<String> attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the
value of that attribute.
|
String |
toString()
Returns a string representation of this object.
|
UserAttributeUpdateSettingsType |
withAttributesRequireVerificationBeforeUpdate(Collection<String> attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the
value of that attribute.
|
UserAttributeUpdateSettingsType |
withAttributesRequireVerificationBeforeUpdate(String... attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the
value of that attribute.
|
UserAttributeUpdateSettingsType |
withAttributesRequireVerificationBeforeUpdate(VerifiedAttributeType... attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the
value of that attribute.
|
public List<String> getAttributesRequireVerificationBeforeUpdate()
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or phone_number_verified to
true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that your
users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute values can
immediately update a user’s email or phone_number attribute.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or
phone_number_verified to true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that
your users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute
values can immediately update a user’s email or phone_number attribute.
VerifiedAttributeTypepublic void setAttributesRequireVerificationBeforeUpdate(Collection<String> attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or phone_number_verified to
true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that your
users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute values can
immediately update a user’s email or phone_number attribute.
attributesRequireVerificationBeforeUpdate - Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates
the value of that attribute. When you update a user attribute that has this option activated, Amazon
Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t
change the value of the attribute until your user responds to the verification message and confirms the
new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or
phone_number_verified to true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that
your users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute
values can immediately update a user’s email or phone_number attribute.
VerifiedAttributeTypepublic UserAttributeUpdateSettingsType withAttributesRequireVerificationBeforeUpdate(String... attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or phone_number_verified to
true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that your
users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute values can
immediately update a user’s email or phone_number attribute.
NOTE: This method appends the values to the existing list (if any). Use
setAttributesRequireVerificationBeforeUpdate(java.util.Collection) or
withAttributesRequireVerificationBeforeUpdate(java.util.Collection) if you want to override the existing
values.
attributesRequireVerificationBeforeUpdate - Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates
the value of that attribute. When you update a user attribute that has this option activated, Amazon
Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t
change the value of the attribute until your user responds to the verification message and confirms the
new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or
phone_number_verified to true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that
your users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute
values can immediately update a user’s email or phone_number attribute.
VerifiedAttributeTypepublic UserAttributeUpdateSettingsType withAttributesRequireVerificationBeforeUpdate(Collection<String> attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or phone_number_verified to
true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that your
users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute values can
immediately update a user’s email or phone_number attribute.
attributesRequireVerificationBeforeUpdate - Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates
the value of that attribute. When you update a user attribute that has this option activated, Amazon
Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t
change the value of the attribute until your user responds to the verification message and confirms the
new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or
phone_number_verified to true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that
your users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute
values can immediately update a user’s email or phone_number attribute.
VerifiedAttributeTypepublic UserAttributeUpdateSettingsType withAttributesRequireVerificationBeforeUpdate(VerifiedAttributeType... attributesRequireVerificationBeforeUpdate)
Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or phone_number_verified to
true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that your
users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute values can
immediately update a user’s email or phone_number attribute.
attributesRequireVerificationBeforeUpdate - Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates
the value of that attribute. When you update a user attribute that has this option activated, Amazon
Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t
change the value of the attribute until your user responds to the verification message and confirms the
new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or
phone_number_verified to true.
When AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't require that
your users verify attribute changes before Amazon Cognito updates them. In a user pool where
AttributesRequireVerificationBeforeUpdate is false, API operations that change attribute
values can immediately update a user’s email or phone_number attribute.
VerifiedAttributeTypepublic String toString()
toString in class ObjectObject.toString()public UserAttributeUpdateSettingsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.