Class UserPoolSchema


  • public final class UserPoolSchema
    extends java.lang.Object
    • Method Detail

      • attributeDataType

        public java.lang.String attributeDataType()
        Returns:
        Attribute data type. Must be one of `Boolean`, `Number`, `String`, `DateTime`.
      • developerOnlyAttribute

        public java.util.Optional<java.lang.Boolean> developerOnlyAttribute()
        Returns:
        Whether the attribute type is developer only.
      • mutable

        public java.util.Optional<java.lang.Boolean> mutable()
        Returns:
        Whether the attribute can be changed once it has been created.
      • name

        public java.lang.String name()
        Returns:
        Name of the attribute.
      • numberAttributeConstraints

        public java.util.Optional<UserPoolSchemaNumberAttributeConstraints> numberAttributeConstraints()
        Returns:
        Configuration block for the constraints for an attribute of the number type. Detailed below.
      • required

        public java.util.Optional<java.lang.Boolean> required()
        Returns:
        Whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.
      • stringAttributeConstraints

        public java.util.Optional<UserPoolSchemaStringAttributeConstraints> stringAttributeConstraints()
        Returns:
        Constraints for an attribute of the string type. Detailed below.