public static interface WriteRequest.Builder extends SdkPojo, CopyableBuilder<WriteRequest.Builder,WriteRequest>
Modifier and Type | Method and Description |
---|---|
default WriteRequest.Builder |
deleteRequest(Consumer<DeleteRequest.Builder> deleteRequest)
A request to perform a
DeleteItem operation. |
WriteRequest.Builder |
deleteRequest(DeleteRequest deleteRequest)
A request to perform a
DeleteItem operation. |
default WriteRequest.Builder |
putRequest(Consumer<PutRequest.Builder> putRequest)
A request to perform a
PutItem operation. |
WriteRequest.Builder |
putRequest(PutRequest putRequest)
A request to perform a
PutItem operation. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
WriteRequest.Builder putRequest(PutRequest putRequest)
A request to perform a PutItem
operation.
putRequest
- A request to perform a PutItem
operation.default WriteRequest.Builder putRequest(Consumer<PutRequest.Builder> putRequest)
A request to perform a PutItem
operation.
PutRequest.Builder
avoiding the need to
create one manually via PutRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to putRequest(PutRequest)
.
putRequest
- a consumer that will call methods on PutRequest.Builder
putRequest(PutRequest)
WriteRequest.Builder deleteRequest(DeleteRequest deleteRequest)
A request to perform a DeleteItem
operation.
deleteRequest
- A request to perform a DeleteItem
operation.default WriteRequest.Builder deleteRequest(Consumer<DeleteRequest.Builder> deleteRequest)
A request to perform a DeleteItem
operation.
DeleteRequest.Builder
avoiding the need
to create one manually via DeleteRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deleteRequest(DeleteRequest)
.
deleteRequest
- a consumer that will call methods on DeleteRequest.Builder
deleteRequest(DeleteRequest)
Copyright © 2023. All rights reserved.