Class EnhancedGlobalSecondaryIndex.Builder
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.EnhancedGlobalSecondaryIndex.Builder
-
- Enclosing class:
- EnhancedGlobalSecondaryIndex
@NotThreadSafe public static final class EnhancedGlobalSecondaryIndex.Builder extends Object
A builder forEnhancedGlobalSecondaryIndex
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnhancedGlobalSecondaryIndex
build()
Builds aEnhancedGlobalSecondaryIndex
based on the values stored in this builderEnhancedGlobalSecondaryIndex.Builder
indexName(String indexName)
The name of the global secondary indexEnhancedGlobalSecondaryIndex.Builder
projection(Consumer<Projection.Builder> projection)
The attribute projection setting for this global secondary index.EnhancedGlobalSecondaryIndex.Builder
projection(Projection projection)
The attribute projection setting for this global secondary index.EnhancedGlobalSecondaryIndex.Builder
provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
The provisioned throughput setting for this global secondary index.EnhancedGlobalSecondaryIndex.Builder
provisionedThroughput(ProvisionedThroughput provisionedThroughput)
The provisioned throughput setting for this global secondary index.
-
-
-
Method Detail
-
indexName
public EnhancedGlobalSecondaryIndex.Builder indexName(String indexName)
The name of the global secondary index
-
projection
public EnhancedGlobalSecondaryIndex.Builder projection(Projection projection)
The attribute projection setting for this global secondary index.
-
projection
public EnhancedGlobalSecondaryIndex.Builder projection(Consumer<Projection.Builder> projection)
The attribute projection setting for this global secondary index.
-
provisionedThroughput
public EnhancedGlobalSecondaryIndex.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput)
The provisioned throughput setting for this global secondary index.
-
provisionedThroughput
public EnhancedGlobalSecondaryIndex.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
The provisioned throughput setting for this global secondary index.
-
build
public EnhancedGlobalSecondaryIndex build()
Builds aEnhancedGlobalSecondaryIndex
based on the values stored in this builder
-
-