Class BatchWriteItemEnhancedRequest
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.BatchWriteItemEnhancedRequest
Defines parameters used for the batchWriteItem() operation (such as
DynamoDbEnhancedClient.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 ClassesModifier and TypeClassDescriptionstatic final class
A builder that is used to create a request with the desired parameters. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a newly initialized builder for a request object.boolean
int
hashCode()
Whether to return the capacity consumed by this operation.Whether to return the capacity consumed by this operation.Whether to return the item collection metrics.Whether to return the item collection metrics.Returns the collection ofWriteBatch
in this request object.
-
Method Details
-
builder
Creates a newly initialized builder for a request object. -
toBuilder
- Returns:
- a builder with all existing values set
-
returnConsumedCapacity
Whether to return the capacity consumed by this operation.- See Also:
-
returnConsumedCapacityAsString
Whether to return the capacity consumed by this operation.Similar to
returnConsumedCapacity()
but return the value as a string. This is useful in situations where the value is not defined inReturnConsumedCapacity
. -
returnItemCollectionMetrics
Whether to return the item collection metrics.- See Also:
-
returnItemCollectionMetricsAsString
Whether to return the item collection metrics.Similar to
returnItemCollectionMetrics()
but return the value as a string. This is useful in situations where the value is not defined inReturnItemCollectionMetrics
. -
writeBatches
Returns the collection ofWriteBatch
in this request object. -
equals
-
hashCode
-