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 StringAttributeConstraintsType
clone()
boolean
equals(Object obj)
String
getMaxLength()
The maximum length of an attribute value of the string type.String
getMinLength()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.StringAttributeConstraintsType
withMaxLength(String maxLength)
The maximum length of an attribute value of the string type.StringAttributeConstraintsType
withMinLength(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StringAttributeConstraintsType clone()
-
-