Class WriteBatch
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.WriteBatch
Defines a collection of references to keys for delete actions and items for put actions
 for one specific table. A WriteBatch is part of a 
BatchWriteItemEnhancedRequest
 and used in a batchWriteItem() operation (such as
 DynamoDbEnhancedClient.batchWriteItem(BatchWriteItemEnhancedRequest)).
 A valid write batch should contain one or more delete or put action reference.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA builder that is used to create a request with the desired parameters. - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> WriteBatch.Builder<T> Creates a newly initialized builder for a write batch.booleaninthashCode()Returns the table name associated with this batch.Returns the collection of write requests in this writek batch. 
- 
Method Details
- 
builder
Creates a newly initialized builder for a write batch.- Type Parameters:
 T- The type of the modelled object, corresponding to itemClass- Parameters:
 itemClass- the class that items in this table map to- Returns:
 - a WriteBatch builder
 
 - 
tableName
Returns the table name associated with this batch. - 
writeRequests
Returns the collection of write requests in this writek batch. - 
equals
 - 
hashCode
public int hashCode() 
 -