Class EnhancedGlobalSecondaryIndex
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.EnhancedGlobalSecondaryIndex
-
@ThreadSafe public final class EnhancedGlobalSecondaryIndex extends Object
Enhanced model representation of a 'global 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 classEnhancedGlobalSecondaryIndex.BuilderA builder forEnhancedGlobalSecondaryIndex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnhancedGlobalSecondaryIndex.Builderbuilder()Creates a newly initialized builder for anEnhancedLocalSecondaryIndexbooleanequals(Object o)inthashCode()StringindexName()The name of the global secondary indexProjectionprojection()The attribute projection setting for this global secondary index.ProvisionedThroughputprovisionedThroughput()The provisioned throughput setting for this global secondary index.EnhancedGlobalSecondaryIndex.BuildertoBuilder()Creates a builder initialized with the attributes of an existingEnhancedLocalSecondaryIndex
-
-
-
Method Detail
-
builder
public static EnhancedGlobalSecondaryIndex.Builder builder()
Creates a newly initialized builder for anEnhancedLocalSecondaryIndex- Returns:
- A new builder
-
toBuilder
public EnhancedGlobalSecondaryIndex.Builder toBuilder()
Creates a builder initialized with the attributes of an existingEnhancedLocalSecondaryIndex- Returns:
- A new builder
-
indexName
public String indexName()
The name of the global secondary index
-
projection
public Projection projection()
The attribute projection setting for this global secondary index.
-
provisionedThroughput
public ProvisionedThroughput provisionedThroughput()
The provisioned throughput setting for this global secondary index.
-
-