Class SchemaAttributeType

    • Constructor Detail

      • SchemaAttributeType

        public SchemaAttributeType()
    • Method Detail

      • setName

        public void setName​(String name)

        A schema attribute of the name type.

        Parameters:
        name - A schema attribute of the name type.
      • getName

        public String getName()

        A schema attribute of the name type.

        Returns:
        A schema attribute of the name type.
      • withName

        public SchemaAttributeType withName​(String name)

        A schema attribute of the name type.

        Parameters:
        name - A schema attribute of the name type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAttributeDataType

        public void setAttributeDataType​(String attributeDataType)

        The attribute data type.

        Parameters:
        attributeDataType - The attribute data type.
        See Also:
        AttributeDataType
      • getAttributeDataType

        public String getAttributeDataType()

        The attribute data type.

        Returns:
        The attribute data type.
        See Also:
        AttributeDataType
      • withAttributeDataType

        public SchemaAttributeType withAttributeDataType​(String attributeDataType)

        The attribute data type.

        Parameters:
        attributeDataType - The attribute data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttributeDataType
      • setAttributeDataType

        public void setAttributeDataType​(AttributeDataType attributeDataType)

        The attribute data type.

        Parameters:
        attributeDataType - The attribute data type.
        See Also:
        AttributeDataType
      • withAttributeDataType

        public SchemaAttributeType withAttributeDataType​(AttributeDataType attributeDataType)

        The attribute data type.

        Parameters:
        attributeDataType - The attribute data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttributeDataType
      • setDeveloperOnlyAttribute

        public void setDeveloperOnlyAttribute​(Boolean developerOnlyAttribute)

        Specifies whether the attribute type is developer only.

        Parameters:
        developerOnlyAttribute - Specifies whether the attribute type is developer only.
      • getDeveloperOnlyAttribute

        public Boolean getDeveloperOnlyAttribute()

        Specifies whether the attribute type is developer only.

        Returns:
        Specifies whether the attribute type is developer only.
      • withDeveloperOnlyAttribute

        public SchemaAttributeType withDeveloperOnlyAttribute​(Boolean developerOnlyAttribute)

        Specifies whether the attribute type is developer only.

        Parameters:
        developerOnlyAttribute - Specifies whether the attribute type is developer only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeveloperOnlyAttribute

        public Boolean isDeveloperOnlyAttribute()

        Specifies whether the attribute type is developer only.

        Returns:
        Specifies whether the attribute type is developer only.
      • setMutable

        public void setMutable​(Boolean mutable)

        Specifies whether the attribute can be changed once it has been created.

        Parameters:
        mutable - Specifies whether the attribute can be changed once it has been created.
      • getMutable

        public Boolean getMutable()

        Specifies whether the attribute can be changed once it has been created.

        Returns:
        Specifies whether the attribute can be changed once it has been created.
      • withMutable

        public SchemaAttributeType withMutable​(Boolean mutable)

        Specifies whether the attribute can be changed once it has been created.

        Parameters:
        mutable - Specifies whether the attribute can be changed once it has been created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isMutable

        public Boolean isMutable()

        Specifies whether the attribute can be changed once it has been created.

        Returns:
        Specifies whether the attribute can be changed once it has been created.
      • setRequired

        public void setRequired​(Boolean required)

        Specifies 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.

        Parameters:
        required - Specifies 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.
      • getRequired

        public Boolean getRequired()

        Specifies 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.

        Returns:
        Specifies 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.
      • withRequired

        public SchemaAttributeType withRequired​(Boolean required)

        Specifies 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.

        Parameters:
        required - Specifies 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isRequired

        public Boolean isRequired()

        Specifies 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.

        Returns:
        Specifies 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.
      • setNumberAttributeConstraints

        public void setNumberAttributeConstraints​(NumberAttributeConstraintsType numberAttributeConstraints)

        Specifies the constraints for an attribute of the number type.

        Parameters:
        numberAttributeConstraints - Specifies the constraints for an attribute of the number type.
      • getNumberAttributeConstraints

        public NumberAttributeConstraintsType getNumberAttributeConstraints()

        Specifies the constraints for an attribute of the number type.

        Returns:
        Specifies the constraints for an attribute of the number type.
      • withNumberAttributeConstraints

        public SchemaAttributeType withNumberAttributeConstraints​(NumberAttributeConstraintsType numberAttributeConstraints)

        Specifies the constraints for an attribute of the number type.

        Parameters:
        numberAttributeConstraints - Specifies the constraints for an attribute of the number type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStringAttributeConstraints

        public void setStringAttributeConstraints​(StringAttributeConstraintsType stringAttributeConstraints)

        Specifies the constraints for an attribute of the string type.

        Parameters:
        stringAttributeConstraints - Specifies the constraints for an attribute of the string type.
      • getStringAttributeConstraints

        public StringAttributeConstraintsType getStringAttributeConstraints()

        Specifies the constraints for an attribute of the string type.

        Returns:
        Specifies the constraints for an attribute of the string type.
      • withStringAttributeConstraints

        public SchemaAttributeType withStringAttributeConstraints​(StringAttributeConstraintsType stringAttributeConstraints)

        Specifies the constraints for an attribute of the string type.

        Parameters:
        stringAttributeConstraints - Specifies the constraints for an attribute of the string type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object