@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public StringAttributeConstraintsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.