Class AutoVerifiedAttrs.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.AutoVerifiedAttrs.Jsii$Proxy
All Implemented Interfaces:
AutoVerifiedAttrs, software.amazon.jsii.JsiiSerializable
Enclosing interface:
AutoVerifiedAttrs

@Stability(Stable) @Internal public static final class AutoVerifiedAttrs.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AutoVerifiedAttrs
An implementation for AutoVerifiedAttrs
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.AutoVerifiedAttrs

    AutoVerifiedAttrs.Builder, AutoVerifiedAttrs.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    Whether the email address of the user should be auto verified at sign up.
    final Boolean
    Whether the phone number of the user should be auto verified at sign up.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(AutoVerifiedAttrs.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AutoVerifiedAttrs.Builder.
  • Method Details

    • getEmail

      public final Boolean getEmail()
      Description copied from interface: AutoVerifiedAttrs
      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.html

      Default: - true, if email is turned on for `signIn`. false, otherwise.

      Specified by:
      getEmail in interface AutoVerifiedAttrs
    • getPhone

      public final Boolean getPhone()
      Description copied from interface: AutoVerifiedAttrs
      Whether the phone number of the user should be auto verified at sign up.

      Default: - true, if phone is turned on for `signIn`. false, otherwise.

      Specified by:
      getPhone in interface AutoVerifiedAttrs
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object