@Stability(value=Experimental) public static final class AutoVerifiedAttrs.Builder extends Object implements software.amazon.jsii.Builder<AutoVerifiedAttrs>
AutoVerifiedAttrs| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AutoVerifiedAttrs |
build()
Builds the configured instance.
|
AutoVerifiedAttrs.Builder |
email(Boolean email)
Sets the value of
AutoVerifiedAttrs.getEmail() |
AutoVerifiedAttrs.Builder |
phone(Boolean phone)
Sets the value of
AutoVerifiedAttrs.getPhone() |
@Stability(value=Experimental) public AutoVerifiedAttrs.Builder email(Boolean email)
AutoVerifiedAttrs.getEmail()email - Whether the email address of the user should be auto verified at sign up.
Note: If both email and phone is set, Cognito only verifies the phone number. To also verify email, see here -
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.htmlthis@Stability(value=Experimental) public AutoVerifiedAttrs.Builder phone(Boolean phone)
AutoVerifiedAttrs.getPhone()phone - Whether the phone number of the user should be auto verified at sign up.this@Stability(value=Experimental) public AutoVerifiedAttrs build()
build in interface software.amazon.jsii.Builder<AutoVerifiedAttrs>AutoVerifiedAttrsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.