Class UserIdentityInfo

    • Method Detail

      • firstName

        public final String firstName()

        The first name. This is required if you are using Amazon Connect or SAML for identity management.

        Returns:
        The first name. This is required if you are using Amazon Connect or SAML for identity management.
      • lastName

        public final String lastName()

        The last name. This is required if you are using Amazon Connect or SAML for identity management.

        Returns:
        The last name. This is required if you are using Amazon Connect or SAML for identity management.
      • email

        public final String email()

        The email address. If you are using SAML for identity management and include this parameter, an error is returned.

        Returns:
        The email address. If you are using SAML for identity management and include this parameter, an error is returned.
      • secondaryEmail

        public final String secondaryEmail()

        The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.

        Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}

        Returns:
        The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.

        Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}

      • mobile

        public final String mobile()

        The user's mobile number.

        Returns:
        The user's mobile number.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)