Class StringAttributeConstraintsType

java.lang.Object
com.amazonaws.services.cognitoidp.model.StringAttributeConstraintsType
All Implemented Interfaces:
Serializable, Cloneable

public class StringAttributeConstraintsType extends Object implements Serializable, Cloneable

The type of constraints associated with an attribute of the string type.

See Also:
  • Constructor Details

    • StringAttributeConstraintsType

      public StringAttributeConstraintsType()
  • Method Details

    • setMinLength

      public void setMinLength(String minLength)

      The minimum length of an attribute value of the string type.

      Parameters:
      minLength - The minimum length of an attribute value of the string type.
    • getMinLength

      public String getMinLength()

      The minimum length of an attribute value of the string type.

      Returns:
      The minimum length of an attribute value of the string type.
    • withMinLength

      public StringAttributeConstraintsType withMinLength(String minLength)

      The minimum length of an attribute value of the string type.

      Parameters:
      minLength - The minimum length of an attribute value of the string type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxLength

      public void setMaxLength(String maxLength)

      The maximum length of an attribute value of the string type.

      Parameters:
      maxLength - The maximum length of an attribute value of the string type.
    • getMaxLength

      public String getMaxLength()

      The maximum length of an attribute value of the string type.

      Returns:
      The maximum length of an attribute value of the string type.
    • withMaxLength

      public StringAttributeConstraintsType withMaxLength(String maxLength)

      The maximum length of an attribute value of the string type.

      Parameters:
      maxLength - The maximum length of an attribute value 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object