Class StaticIndexMetadata
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.mapper.StaticIndexMetadata
-
- All Implemented Interfaces:
IndexMetadata
public class StaticIndexMetadata extends Object implements IndexMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StaticIndexMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StaticIndexMetadata.Builder
builder()
static StaticIndexMetadata.Builder
builderFrom(IndexMetadata index)
boolean
equals(Object o)
int
hashCode()
String
name()
The name of the indexOptional<KeyAttributeMetadata>
partitionKey()
The partition key for the index; if there is one.Optional<KeyAttributeMetadata>
sortKey()
The sort key for the index; if there is one.
-
-
-
Method Detail
-
builder
public static StaticIndexMetadata.Builder builder()
-
builderFrom
public static StaticIndexMetadata.Builder builderFrom(IndexMetadata index)
-
name
public String name()
Description copied from interface:IndexMetadata
The name of the index- Specified by:
name
in interfaceIndexMetadata
-
partitionKey
public Optional<KeyAttributeMetadata> partitionKey()
Description copied from interface:IndexMetadata
The partition key for the index; if there is one.- Specified by:
partitionKey
in interfaceIndexMetadata
-
sortKey
public Optional<KeyAttributeMetadata> sortKey()
Description copied from interface:IndexMetadata
The sort key for the index; if there is one.- Specified by:
sortKey
in interfaceIndexMetadata
-
-