public static interface ExecuteTransactionResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<ExecuteTransactionResponse.Builder,ExecuteTransactionResponse>
Modifier and Type | Method and Description |
---|---|
ExecuteTransactionResponse.Builder |
consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation.
|
ExecuteTransactionResponse.Builder |
consumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entire operation.
|
ExecuteTransactionResponse.Builder |
consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
The capacity units consumed by the entire operation.
|
ExecuteTransactionResponse.Builder |
responses(Collection<ItemResponse> responses)
The response to a PartiQL transaction.
|
ExecuteTransactionResponse.Builder |
responses(Consumer<ItemResponse.Builder>... responses)
The response to a PartiQL transaction.
|
ExecuteTransactionResponse.Builder |
responses(ItemResponse... responses)
The response to a PartiQL transaction.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExecuteTransactionResponse.Builder responses(Collection<ItemResponse> responses)
The response to a PartiQL transaction.
responses
- The response to a PartiQL transaction.ExecuteTransactionResponse.Builder responses(ItemResponse... responses)
The response to a PartiQL transaction.
responses
- The response to a PartiQL transaction.ExecuteTransactionResponse.Builder responses(Consumer<ItemResponse.Builder>... responses)
The response to a PartiQL transaction.
This is a convenience method that creates an instance of theItemResponse.Builder
avoiding the need to create one
manually via ItemResponse.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #responses(List
.
responses
- a consumer that will call methods on
ItemResponse.Builder
#responses(java.util.Collection)
ExecuteTransactionResponse.Builder consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
consumedCapacity
- The capacity units consumed by the entire operation. The values of the list are ordered according to
the ordering of the statements.ExecuteTransactionResponse.Builder consumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
consumedCapacity
- The capacity units consumed by the entire operation. The values of the list are ordered according to
the ordering of the statements.ExecuteTransactionResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
This is a convenience method that creates an instance of theConsumedCapacity.Builder
avoiding the need to create
one manually via ConsumedCapacity.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #consumedCapacity(List
.
consumedCapacity
- a consumer that will call methods on
ConsumedCapacity.Builder
#consumedCapacity(java.util.Collection)
Copyright © 2023. All rights reserved.