Class EnhancedLocalSecondaryIndex
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.EnhancedLocalSecondaryIndex
-
@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 class
EnhancedLocalSecondaryIndex.Builder
A builder forEnhancedLocalSecondaryIndex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnhancedLocalSecondaryIndex.Builder
builder()
static EnhancedLocalSecondaryIndex
create(String indexName, Projection projection)
boolean
equals(Object o)
int
hashCode()
String
indexName()
The name of this local secondary indexProjection
projection()
The attribute projection setting for this local secondary index.EnhancedLocalSecondaryIndex.Builder
toBuilder()
-
-
-
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.
-
-