StructuredPojo
, ToCopyableBuilder<AttributeDefinition.Builder,AttributeDefinition>
@Generated("software.amazon.awssdk:codegen") public class AttributeDefinition extends Object implements StructuredPojo, ToCopyableBuilder<AttributeDefinition.Builder,AttributeDefinition>
Represents an attribute for describing the key schema for the table and indexes.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AttributeDefinition.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
attributeName() |
A name for the attribute.
|
String |
attributeType() |
The data type for the attribute, where:
|
static AttributeDefinition.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AttributeDefinition.Builder> |
serializableBuilderClass() |
|
AttributeDefinition.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String attributeName()
A name for the attribute.
public String attributeType()
The data type for the attribute, where:
S
- the attribute is of type String
N
- the attribute is of type Number
B
- the attribute is of type Binary
S
- the attribute is of type String
N
- the attribute is of type Number
B
- the attribute is of type Binary
ScalarAttributeType
public AttributeDefinition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttributeDefinition.Builder,AttributeDefinition>
public static AttributeDefinition.Builder builder()
public static Class<? extends AttributeDefinition.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.