Class EnhancedLocalSecondaryIndex
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.EnhancedLocalSecondaryIndex
-
@SdkPublicApi @ThreadSafe public final class EnhancedLocalSecondaryIndex extends Object
Enhanced model representation of a 'local secondary index' of a DynamoDb table. This is optionally used with the 'createTable' operation in the enhanced client.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEnhancedLocalSecondaryIndex.BuilderA builder forEnhancedLocalSecondaryIndex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnhancedLocalSecondaryIndex.Builderbuilder()static EnhancedLocalSecondaryIndexcreate(String indexName, Projection projection)booleanequals(Object o)inthashCode()StringindexName()The name of this local secondary indexProjectionprojection()The attribute projection setting for this local secondary index.EnhancedLocalSecondaryIndex.BuildertoBuilder()
-
-
-
Method Detail
-
create
public static EnhancedLocalSecondaryIndex create(String indexName, Projection projection)
-
builder
public static EnhancedLocalSecondaryIndex.Builder builder()
-
toBuilder
public EnhancedLocalSecondaryIndex.Builder toBuilder()
-
indexName
public String indexName()
The name of this local secondary index
-
projection
public Projection projection()
The attribute projection setting for this local secondary index.
-
-