Class EnhancedGlobalSecondaryIndex.Builder
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.EnhancedGlobalSecondaryIndex.Builder
- Enclosing class:
EnhancedGlobalSecondaryIndex
A builder for
EnhancedGlobalSecondaryIndex
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aEnhancedGlobalSecondaryIndex
based on the values stored in this builderThe name of the global secondary indexprojection
(Consumer<Projection.Builder> projection) The attribute projection setting for this global secondary index.projection
(Projection projection) The attribute projection setting for this global secondary index.provisionedThroughput
(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) The provisioned throughput setting for this global secondary index.provisionedThroughput
(ProvisionedThroughput provisionedThroughput) The provisioned throughput setting for this global secondary index.
-
Method Details
-
indexName
The name of the global secondary index -
projection
The attribute projection setting for this global secondary index. -
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
Builds aEnhancedGlobalSecondaryIndex
based on the values stored in this builder
-