public final class DeleteItemEnhancedRequest extends Object
DynamoDbTable.deleteItem(DeleteItemEnhancedRequest)
or
DynamoDbAsyncTable.deleteItem(DeleteItemEnhancedRequest)
).
A valid request object must contain a primary Key
to reference the item to delete.
Modifier and Type | Class and Description |
---|---|
static class |
DeleteItemEnhancedRequest.Builder
A builder that is used to create a request with the desired parameters.
|
Modifier and Type | Method and Description |
---|---|
static DeleteItemEnhancedRequest.Builder |
builder()
Creates a newly initialized builder for a request object.
|
Expression |
conditionExpression()
Returns the condition
Expression set on this request object, or null if it doesn't exist. |
boolean |
equals(Object o) |
int |
hashCode() |
Key |
key()
Returns the primary
Key for the item to delete. |
ReturnConsumedCapacity |
returnConsumedCapacity()
Whether to return the capacity consumed by this operation.
|
String |
returnConsumedCapacityAsString()
Whether to return the capacity consumed by this operation.
|
ReturnItemCollectionMetrics |
returnItemCollectionMetrics()
Whether to return the item collection metrics.
|
String |
returnItemCollectionMetricsAsString()
Whether to return the item collection metrics.
|
DeleteItemEnhancedRequest.Builder |
toBuilder()
Returns a builder initialized with all existing values on the request object.
|
public static DeleteItemEnhancedRequest.Builder builder()
public DeleteItemEnhancedRequest.Builder toBuilder()
public Expression conditionExpression()
Expression
set on this request object, or null if it doesn't exist.public ReturnConsumedCapacity returnConsumedCapacity()
PutItemRequest.returnConsumedCapacity()
public String returnConsumedCapacityAsString()
Similar to returnConsumedCapacity()
but return the value as a string. This is useful in situations where the
value is not defined in ReturnConsumedCapacity
.
public ReturnItemCollectionMetrics returnItemCollectionMetrics()
public String returnItemCollectionMetricsAsString()
Similar to returnItemCollectionMetrics()
but return the value as a string. This is useful in situations
where the
value is not defined in ReturnItemCollectionMetrics
.
Copyright © 2021. All rights reserved.