@Generated(value="software.amazon.awssdk:codegen") public class AttributeDefinition extends Object implements software.amazon.awssdk.protocol.StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<AttributeDefinition.Builder,AttributeDefinition>
Represents an attribute for describing the key schema for the table and indexes.
Modifier and Type | Class and Description |
---|---|
static interface |
AttributeDefinition.Builder |
Modifier and Type | Method and 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(software.amazon.awssdk.protocol.ProtocolMarshaller protocolMarshaller) |
static Class<? extends AttributeDefinition.Builder> |
serializableBuilderClass() |
AttributeDefinition.Builder |
toBuilder() |
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()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<AttributeDefinition.Builder,AttributeDefinition>
public static AttributeDefinition.Builder builder()
public static Class<? extends AttributeDefinition.Builder> serializableBuilderClass()
public void marshall(software.amazon.awssdk.protocol.ProtocolMarshaller protocolMarshaller)
marshall
in interface software.amazon.awssdk.protocol.StructuredPojo
Copyright © 2017. All rights reserved.