Class BatchWriteItemEnhancedRequest.Builder
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.BatchWriteItemEnhancedRequest.Builder
- Enclosing class:
 BatchWriteItemEnhancedRequest
A builder that is used to create a request with the desired parameters.
- 
Method Summary
Modifier and TypeMethodDescriptionaddWriteBatch(WriteBatch writeBatch) Adds a write batch to the collection of batches on this builder.build()writeBatches(Collection<WriteBatch> writeBatches) Sets a collection of write batches to use in the batchWriteItem operation.writeBatches(WriteBatch... writeBatches) Sets one or more write batches to use in the batchWriteItem operation. 
- 
Method Details
- 
writeBatches
Sets a collection of write batches to use in the batchWriteItem operation.- Parameters:
 writeBatches- the collection of write batches- Returns:
 - a builder of this type
 
 - 
writeBatches
Sets one or more write batches to use in the batchWriteItem operation.- Parameters:
 writeBatches- one or moreWriteBatch, separated by comma.- Returns:
 - a builder of this type
 
 - 
addWriteBatch
Adds a write batch to the collection of batches on this builder. If this is the first batch, the method creates a new list.- Parameters:
 writeBatch- a single write batch- Returns:
 - a builder of this type
 
 - 
build
 
 -