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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringAttributeConstraintsType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringAttributeConstraintsTypeclone()booleanequals(Object obj)StringgetMaxLength()The maximum length of an attribute value of the string type.StringgetMinLength()The minimum length of an attribute value of the string type.inthashCode()voidsetMaxLength(String maxLength)The maximum length of an attribute value of the string type.voidsetMinLength(String minLength)The minimum length of an attribute value of the string type.StringtoString()Returns a string representation of this object; useful for testing and debugging.StringAttributeConstraintsTypewithMaxLength(String maxLength)The maximum length of an attribute value of the string type.StringAttributeConstraintsTypewithMinLength(String minLength)The minimum length of an attribute value of the string type.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StringAttributeConstraintsType clone()
-
-