@NotThreadSafe public static final class CreateTableEnhancedRequest.Builder extends Object
public CreateTableEnhancedRequest.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput)
See the DynamoDb documentation for more information on default throughput values.
public CreateTableEnhancedRequest.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
provisionedThroughput(ProvisionedThroughput)
that creates an instance of the
ProvisionedThroughput.Builder
for you, avoiding the need to create one manually via
ProvisionedThroughput.builder()
.public CreateTableEnhancedRequest.Builder streamSpecification(StreamSpecification streamSpecification)
StreamSpecification
for this table.
See the DynamoDb documentation for more information on stream specification values.
public CreateTableEnhancedRequest.Builder streamSpecification(Consumer<StreamSpecification.Builder> streamSpecification)
streamSpecification(StreamSpecification)
that creates an instance of the
StreamSpecification.Builder
for you, avoiding the need to create one manually via
StreamSpecification.builder()
.public CreateTableEnhancedRequest.Builder localSecondaryIndices(Collection<EnhancedLocalSecondaryIndex> localSecondaryIndices)
See EnhancedLocalSecondaryIndex
for more information on creating and using a local secondary index.
public CreateTableEnhancedRequest.Builder localSecondaryIndices(EnhancedLocalSecondaryIndex... localSecondaryIndices)
See EnhancedLocalSecondaryIndex
for more information on creating and using a local secondary index.
@SafeVarargs public final CreateTableEnhancedRequest.Builder localSecondaryIndices(Consumer<EnhancedLocalSecondaryIndex.Builder>... localSecondaryIndices)
localSecondaryIndices(Collection)
that creates instances of the
EnhancedLocalSecondaryIndex.Builder
for you, avoiding the need to create them manually via
EnhancedLocalSecondaryIndex.builder()
.public CreateTableEnhancedRequest.Builder globalSecondaryIndices(Collection<EnhancedGlobalSecondaryIndex> globalSecondaryIndices)
See EnhancedGlobalSecondaryIndex
for more information on creating and using a global secondary index.
public CreateTableEnhancedRequest.Builder globalSecondaryIndices(EnhancedGlobalSecondaryIndex... globalSecondaryIndices)
See EnhancedGlobalSecondaryIndex
for more information on creating and using a global secondary index.
@SafeVarargs public final CreateTableEnhancedRequest.Builder globalSecondaryIndices(Consumer<EnhancedGlobalSecondaryIndex.Builder>... globalSecondaryIndices)
globalSecondaryIndices(Collection)
that creates instances of the
EnhancedGlobalSecondaryIndex.Builder
for you, avoiding the need to create them manually via
EnhancedGlobalSecondaryIndex.builder()
.public CreateTableEnhancedRequest build()
Copyright © 2023. All rights reserved.