Class SignInAliases.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class SignInAliases.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SignInAliases
An implementation for SignInAliases
  • 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.SignInAliases

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the SignInAliases.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 a user is allowed to sign up or sign in with an email address.
    final Boolean
    Whether a user is allowed to sign up or sign in with a phone number.
    final Boolean
    Whether a user is allowed to sign in with a secondary username, that can be set and modified after sign up.
    final Boolean
    Whether user is allowed to sign up or sign in with a username.
    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(SignInAliases.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SignInAliases.Builder.
  • Method Details

    • getEmail

      public final Boolean getEmail()
      Description copied from interface: SignInAliases
      Whether a user is allowed to sign up or sign in with an email address.

      Default: false

      Specified by:
      getEmail in interface SignInAliases
    • getPhone

      public final Boolean getPhone()
      Description copied from interface: SignInAliases
      Whether a user is allowed to sign up or sign in with a phone number.

      Default: false

      Specified by:
      getPhone in interface SignInAliases
    • getPreferredUsername

      public final Boolean getPreferredUsername()
      Description copied from interface: SignInAliases
      Whether a user is allowed to sign in with a secondary username, that can be set and modified after sign up.

      Can only be used in conjunction with USERNAME.

      Default: false

      Specified by:
      getPreferredUsername in interface SignInAliases
    • getUsername

      public final Boolean getUsername()
      Description copied from interface: SignInAliases
      Whether user is allowed to sign up or sign in with a username.

      Default: true

      Specified by:
      getUsername in interface SignInAliases
    • $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