@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringAttributeConstraintsType extends Object implements Serializable, Cloneable, StructuredPojo
The constraints associated with a string attribute.
| Constructor and Description |
|---|
StringAttributeConstraintsType() |
| Modifier and Type | Method and Description |
|---|---|
StringAttributeConstraintsType |
clone() |
boolean |
equals(Object obj) |
String |
getMaxLength()
The maximum length.
|
String |
getMinLength()
The minimum length.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMaxLength(String maxLength)
The maximum length.
|
void |
setMinLength(String minLength)
The minimum length.
|
String |
toString()
Returns a string representation of this object.
|
StringAttributeConstraintsType |
withMaxLength(String maxLength)
The maximum length.
|
StringAttributeConstraintsType |
withMinLength(String minLength)
The minimum length.
|
public void setMinLength(String minLength)
The minimum length.
minLength - The minimum length.public String getMinLength()
The minimum length.
public StringAttributeConstraintsType withMinLength(String minLength)
The minimum length.
minLength - The minimum length.public void setMaxLength(String maxLength)
The maximum length.
maxLength - The maximum length.public String getMaxLength()
The maximum length.
public StringAttributeConstraintsType withMaxLength(String maxLength)
The maximum length.
maxLength - The maximum length.public String toString()
toString in class ObjectObject.toString()public StringAttributeConstraintsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.