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 EnhancedGlobalSecondaryIndexbuild()Builds aEnhancedGlobalSecondaryIndexbased on the values stored in this builderEnhancedGlobalSecondaryIndex.BuilderindexName(String indexName)The name of the global secondary indexEnhancedGlobalSecondaryIndex.Builderprojection(Consumer<Projection.Builder> projection)The attribute projection setting for this global secondary index.EnhancedGlobalSecondaryIndex.Builderprojection(Projection projection)The attribute projection setting for this global secondary index.EnhancedGlobalSecondaryIndex.BuilderprovisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)The provisioned throughput setting for this global secondary index.EnhancedGlobalSecondaryIndex.BuilderprovisionedThroughput(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 aEnhancedGlobalSecondaryIndexbased on the values stored in this builder
-
-