Class CreateTableEnhancedRequest.Builder
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.CreateTableEnhancedRequest.Builder
- Enclosing class:
- CreateTableEnhancedRequest
A builder that is used to create a request with the desired parameters.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()globalSecondaryIndices(Collection<EnhancedGlobalSecondaryIndex> globalSecondaryIndices) Defines a global secondary index for this table.globalSecondaryIndices(Consumer<EnhancedGlobalSecondaryIndex.Builder>... globalSecondaryIndices) This is a convenience method forglobalSecondaryIndices(Collection)that creates instances of theEnhancedGlobalSecondaryIndex.Builderfor you, avoiding the need to create them manually viaEnhancedGlobalSecondaryIndex.builder().globalSecondaryIndices(EnhancedGlobalSecondaryIndex... globalSecondaryIndices) Defines a global secondary index for this table.localSecondaryIndices(Collection<EnhancedLocalSecondaryIndex> localSecondaryIndices) Defines a local secondary index for this table.localSecondaryIndices(Consumer<EnhancedLocalSecondaryIndex.Builder>... localSecondaryIndices) This is a convenience method forlocalSecondaryIndices(Collection)that creates instances of theEnhancedLocalSecondaryIndex.Builderfor you, avoiding the need to create them manually viaEnhancedLocalSecondaryIndex.builder().localSecondaryIndices(EnhancedLocalSecondaryIndex... localSecondaryIndices) Defines a local secondary index for this table.provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) This is a convenience method forprovisionedThroughput(ProvisionedThroughput)that creates an instance of theProvisionedThroughput.Builderfor you, avoiding the need to create one manually viaProvisionedThroughput.builder().provisionedThroughput(ProvisionedThroughput provisionedThroughput) Sets the provisioned throughput for this table.streamSpecification(Consumer<StreamSpecification.Builder> streamSpecification) This is a convenience method forstreamSpecification(StreamSpecification)that creates an instance of theStreamSpecification.Builderfor you, avoiding the need to create one manually viaStreamSpecification.builder().streamSpecification(StreamSpecification streamSpecification) Sets theStreamSpecificationfor this table.
- 
Method Details- 
provisionedThroughputpublic CreateTableEnhancedRequest.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput) Sets the provisioned throughput for this table. Use this parameter to set the table's read and write capacity units.See the DynamoDb documentation for more information on default throughput values. 
- 
provisionedThroughputpublic CreateTableEnhancedRequest.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) This is a convenience method forprovisionedThroughput(ProvisionedThroughput)that creates an instance of theProvisionedThroughput.Builderfor you, avoiding the need to create one manually viaProvisionedThroughput.builder().
- 
streamSpecificationpublic CreateTableEnhancedRequest.Builder streamSpecification(StreamSpecification streamSpecification) Sets theStreamSpecificationfor this table.See the DynamoDb documentation for more information on stream specification values. 
- 
streamSpecificationpublic CreateTableEnhancedRequest.Builder streamSpecification(Consumer<StreamSpecification.Builder> streamSpecification) This is a convenience method forstreamSpecification(StreamSpecification)that creates an instance of theStreamSpecification.Builderfor you, avoiding the need to create one manually viaStreamSpecification.builder().
- 
localSecondaryIndicespublic CreateTableEnhancedRequest.Builder localSecondaryIndices(Collection<EnhancedLocalSecondaryIndex> localSecondaryIndices) Defines a local secondary index for this table.See EnhancedLocalSecondaryIndexfor more information on creating and using a local secondary index.
- 
localSecondaryIndicespublic CreateTableEnhancedRequest.Builder localSecondaryIndices(EnhancedLocalSecondaryIndex... localSecondaryIndices) Defines a local secondary index for this table.See EnhancedLocalSecondaryIndexfor more information on creating and using a local secondary index.
- 
localSecondaryIndices@SafeVarargs public final CreateTableEnhancedRequest.Builder localSecondaryIndices(Consumer<EnhancedLocalSecondaryIndex.Builder>... localSecondaryIndices) This is a convenience method forlocalSecondaryIndices(Collection)that creates instances of theEnhancedLocalSecondaryIndex.Builderfor you, avoiding the need to create them manually viaEnhancedLocalSecondaryIndex.builder().
- 
globalSecondaryIndicespublic CreateTableEnhancedRequest.Builder globalSecondaryIndices(Collection<EnhancedGlobalSecondaryIndex> globalSecondaryIndices) Defines a global secondary index for this table.See EnhancedGlobalSecondaryIndexfor more information on creating and using a global secondary index.
- 
globalSecondaryIndicespublic CreateTableEnhancedRequest.Builder globalSecondaryIndices(EnhancedGlobalSecondaryIndex... globalSecondaryIndices) Defines a global secondary index for this table.See EnhancedGlobalSecondaryIndexfor more information on creating and using a global secondary index.
- 
globalSecondaryIndices@SafeVarargs public final CreateTableEnhancedRequest.Builder globalSecondaryIndices(Consumer<EnhancedGlobalSecondaryIndex.Builder>... globalSecondaryIndices) This is a convenience method forglobalSecondaryIndices(Collection)that creates instances of theEnhancedGlobalSecondaryIndex.Builderfor you, avoiding the need to create them manually viaEnhancedGlobalSecondaryIndex.builder().
- 
build
 
-