public static final class DeleteItemEnhancedRequest.Builder extends Object
Note: A valid request builder must define a Key
.
Modifier and Type | Method and Description |
---|---|
DeleteItemEnhancedRequest |
build() |
DeleteItemEnhancedRequest.Builder |
conditionExpression(Expression conditionExpression)
Defines a logical expression on an item's attribute values which, if evaluating to true,
will allow the delete operation to succeed.
|
DeleteItemEnhancedRequest.Builder |
key(Consumer<Key.Builder> keyConsumer)
Sets the primary
Key that will be used to match the item to delete
on the builder by accepting a consumer of Key.Builder . |
DeleteItemEnhancedRequest.Builder |
key(Key key)
Sets the primary
Key that will be used to match the item to delete. |
public DeleteItemEnhancedRequest.Builder key(Key key)
Key
that will be used to match the item to delete.key
- the primary key to use in the request.public DeleteItemEnhancedRequest.Builder key(Consumer<Key.Builder> keyConsumer)
Key
that will be used to match the item to delete
on the builder by accepting a consumer of Key.Builder
.public DeleteItemEnhancedRequest.Builder conditionExpression(Expression conditionExpression)
See Expression
for condition syntax and examples.
conditionExpression
- a condition written as an Expression
public DeleteItemEnhancedRequest build()
Copyright © 2020. All rights reserved.