@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 of a string attribute value.
|
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 of a string attribute value.
|
void |
setMinLength(String minLength)
The minimum length.
|
String |
toString()
Returns a string representation of this object.
|
StringAttributeConstraintsType |
withMaxLength(String maxLength)
The maximum length of a string attribute value.
|
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 of a string attribute value. Must be a number less than or equal to 2^1023
,
represented as a string with a length of 131072 characters or fewer.
maxLength
- The maximum length of a string attribute value. Must be a number less than or equal to 2^1023
, represented as a string with a length of 131072 characters or fewer.public String getMaxLength()
The maximum length of a string attribute value. Must be a number less than or equal to 2^1023
,
represented as a string with a length of 131072 characters or fewer.
2^1023
, represented as a string with a length of 131072 characters or fewer.public StringAttributeConstraintsType withMaxLength(String maxLength)
The maximum length of a string attribute value. Must be a number less than or equal to 2^1023
,
represented as a string with a length of 131072 characters or fewer.
maxLength
- The maximum length of a string attribute value. Must be a number less than or equal to 2^1023
, represented as a string with a length of 131072 characters or fewer.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.