@Generated(value="software.amazon.awssdk:codegen") public final class StringAttributeConstraintsType extends Object implements StructuredPojo, ToCopyableBuilder<StringAttributeConstraintsType.Builder,StringAttributeConstraintsType>
The type of constraints associated with an attribute of the string type.
Modifier and Type | Class and Description |
---|---|
static interface |
StringAttributeConstraintsType.Builder |
Modifier and Type | Method and Description |
---|---|
static StringAttributeConstraintsType.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
maxLength()
The maximum length of an attribute value of the string type.
|
String |
minLength()
The minimum length of an attribute value of the string type.
|
static Class<? extends StringAttributeConstraintsType.Builder> |
serializableBuilderClass() |
StringAttributeConstraintsType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String minLength()
The minimum length of an attribute value of the string type.
public String maxLength()
The maximum length of an attribute value of the string type.
public StringAttributeConstraintsType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StringAttributeConstraintsType.Builder,StringAttributeConstraintsType>
public static StringAttributeConstraintsType.Builder builder()
public static Class<? extends StringAttributeConstraintsType.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.