Class BatchWriteItemEnhancedRequest
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.BatchWriteItemEnhancedRequest
-
@ThreadSafe public final class BatchWriteItemEnhancedRequest extends Object
Defines parameters used for the batchWriteItem() operation (such asDynamoDbEnhancedClient.batchWriteItem(BatchWriteItemEnhancedRequest)
).A request contains references to keys for delete actions and items for put actions, organized into one
WriteBatch
object per accessed table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchWriteItemEnhancedRequest.Builder
A builder that is used to create a request with the desired parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchWriteItemEnhancedRequest.Builder
builder()
Creates a newly initialized builder for a request object.boolean
equals(Object o)
int
hashCode()
BatchWriteItemEnhancedRequest.Builder
toBuilder()
Returns a builder initialized with all existing values on the request object.Collection<WriteBatch>
writeBatches()
Returns the collection ofWriteBatch
in this request object.
-
-
-
Method Detail
-
builder
public static BatchWriteItemEnhancedRequest.Builder builder()
Creates a newly initialized builder for a request object.
-
toBuilder
public BatchWriteItemEnhancedRequest.Builder toBuilder()
Returns a builder initialized with all existing values on the request object.
-
writeBatches
public Collection<WriteBatch> writeBatches()
Returns the collection ofWriteBatch
in this request object.
-
-