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 class
EnhancedGlobalSecondaryIndex.Builder
A builder forEnhancedGlobalSecondaryIndex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnhancedGlobalSecondaryIndex.Builder
builder()
Creates a newly initialized builder for anEnhancedLocalSecondaryIndex
boolean
equals(Object o)
int
hashCode()
String
indexName()
The name of the global secondary indexProjection
projection()
The attribute projection setting for this global secondary index.ProvisionedThroughput
provisionedThroughput()
The provisioned throughput setting for this global secondary index.EnhancedGlobalSecondaryIndex.Builder
toBuilder()
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.
-
-