public static interface TransactWriteItem.Builder extends SdkPojo, CopyableBuilder<TransactWriteItem.Builder,TransactWriteItem>
Modifier and Type | Method and Description |
---|---|
TransactWriteItem.Builder |
conditionCheck(ConditionCheck conditionCheck)
A request to perform a check item operation.
|
default TransactWriteItem.Builder |
conditionCheck(Consumer<ConditionCheck.Builder> conditionCheck)
A request to perform a check item operation.
|
default TransactWriteItem.Builder |
delete(Consumer<Delete.Builder> delete)
A request to perform a
DeleteItem operation. |
TransactWriteItem.Builder |
delete(Delete delete)
A request to perform a
DeleteItem operation. |
default TransactWriteItem.Builder |
put(Consumer<Put.Builder> put)
A request to perform a
PutItem operation. |
TransactWriteItem.Builder |
put(Put put)
A request to perform a
PutItem operation. |
default TransactWriteItem.Builder |
update(Consumer<Update.Builder> update)
A request to perform an
UpdateItem operation. |
TransactWriteItem.Builder |
update(Update update)
A request to perform an
UpdateItem operation. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransactWriteItem.Builder conditionCheck(ConditionCheck conditionCheck)
A request to perform a check item operation.
conditionCheck
- A request to perform a check item operation.default TransactWriteItem.Builder conditionCheck(Consumer<ConditionCheck.Builder> conditionCheck)
A request to perform a check item operation.
This is a convenience that creates an instance of theConditionCheck.Builder
avoiding the need to
create one manually via ConditionCheck.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to conditionCheck(ConditionCheck)
.conditionCheck
- a consumer that will call methods on ConditionCheck.Builder
conditionCheck(ConditionCheck)
TransactWriteItem.Builder put(Put put)
A request to perform a PutItem
operation.
put
- A request to perform a PutItem
operation.default TransactWriteItem.Builder put(Consumer<Put.Builder> put)
A request to perform a PutItem
operation.
Put.Builder
avoiding the need to create one
manually via Put.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to put(Put)
.put
- a consumer that will call methods on Put.Builder
put(Put)
TransactWriteItem.Builder delete(Delete delete)
A request to perform a DeleteItem
operation.
delete
- A request to perform a DeleteItem
operation.default TransactWriteItem.Builder delete(Consumer<Delete.Builder> delete)
A request to perform a DeleteItem
operation.
Delete.Builder
avoiding the need to create one
manually via Delete.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to delete(Delete)
.delete
- a consumer that will call methods on Delete.Builder
delete(Delete)
TransactWriteItem.Builder update(Update update)
A request to perform an UpdateItem
operation.
update
- A request to perform an UpdateItem
operation.default TransactWriteItem.Builder update(Consumer<Update.Builder> update)
A request to perform an UpdateItem
operation.
Update.Builder
avoiding the need to create one
manually via Update.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to update(Update)
.update
- a consumer that will call methods on Update.Builder
update(Update)
Copyright © 2020. All rights reserved.