@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringAttributeConstraintsType extends Object implements Serializable, Cloneable, StructuredPojo
The type of constraints associated with an attribute of the string type.
Constructor and Description |
---|
StringAttributeConstraintsType() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setMinLength(String minLength)
The minimum length of an attribute value of the string type.
minLength
- The minimum length of an attribute value of the string type.public String getMinLength()
The minimum length of an attribute value of the string type.
public StringAttributeConstraintsType withMinLength(String minLength)
The minimum length of an attribute value of the string type.
minLength
- The minimum length of an attribute value of the string type.public void setMaxLength(String maxLength)
The maximum length of an attribute value of the string type.
maxLength
- The maximum length of an attribute value of the string type.public String getMaxLength()
The maximum length of an attribute value of the string type.
public StringAttributeConstraintsType withMaxLength(String maxLength)
The maximum length of an attribute value of the string type.
maxLength
- The maximum length of an attribute value of the string type.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.