@Stability(value=Experimental) @Internal public static final class AutoVerifiedAttrs.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AutoVerifiedAttrs
AutoVerifiedAttrssoftware.amazon.jsii.JsiiObject.InitializationModeAutoVerifiedAttrs.Builder, AutoVerifiedAttrs.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Boolean email,
Boolean phone)
Constructor that initializes the object based on literal property values passed by the
AutoVerifiedAttrs.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getEmail()
(experimental) Whether the email address of the user should be auto verified at sign up.
|
Boolean |
getPhone()
(experimental) Whether the phone number of the user should be auto verified at sign up.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Boolean email, Boolean phone)
AutoVerifiedAttrs.Builder.public final Boolean getEmail()
AutoVerifiedAttrs
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.html
Default: - true, if email is turned on for `signIn`. false, otherwise.
getEmail in interface AutoVerifiedAttrspublic final Boolean getPhone()
AutoVerifiedAttrsDefault: - true, if phone is turned on for `signIn`. false, otherwise.
getPhone in interface AutoVerifiedAttrs@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.