Class StringAttributeConstraintsType
java.lang.Object
com.amazonaws.services.cognitoidp.model.StringAttributeConstraintsType
- All Implemented Interfaces:
Serializable
,Cloneable
The type of constraints associated with an attribute of the string type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The maximum length of an attribute value of the string type.The minimum length of an attribute value of the string type.int
hashCode()
void
setMaxLength
(String maxLength) The maximum length of an attribute value of the string type.void
setMinLength
(String minLength) The minimum length of an attribute value of the string type.toString()
Returns a string representation of this object; useful for testing and debugging.withMaxLength
(String maxLength) The maximum length of an attribute value of the string type.withMinLength
(String minLength) The minimum length of an attribute value of the string type.
-
Constructor Details
-
StringAttributeConstraintsType
public StringAttributeConstraintsType()
-
-
Method Details
-
setMinLength
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
The minimum length of an attribute value of the string type.
- Returns:
- The minimum length of an attribute value of the string type.
-
withMinLength
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
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
The maximum length of an attribute value of the string type.
- Returns:
- The maximum length of an attribute value of the string type.
-
withMaxLength
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-