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 classStaticIndexMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StaticIndexMetadata.Builderbuilder()static StaticIndexMetadata.BuilderbuilderFrom(IndexMetadata index)booleanequals(Object o)inthashCode()Stringname()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:IndexMetadataThe name of the index- Specified by:
namein interfaceIndexMetadata
-
partitionKey
public Optional<KeyAttributeMetadata> partitionKey()
Description copied from interface:IndexMetadataThe partition key for the index; if there is one.- Specified by:
partitionKeyin interfaceIndexMetadata
-
sortKey
public Optional<KeyAttributeMetadata> sortKey()
Description copied from interface:IndexMetadataThe sort key for the index; if there is one.- Specified by:
sortKeyin interfaceIndexMetadata
-
-