Interface TransactWriteItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TransactWriteItemsResponse.Builder,
,TransactWriteItemsResponse> DynamoDbResponse.Builder
,SdkBuilder<TransactWriteItemsResponse.Builder,
,TransactWriteItemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
TransactWriteItemsResponse
-
Method Summary
Modifier and TypeMethodDescriptionconsumedCapacity
(Collection<ConsumedCapacity> consumedCapacity) The capacity units consumed by the entireTransactWriteItems
operation.consumedCapacity
(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entireTransactWriteItems
operation.consumedCapacity
(ConsumedCapacity... consumedCapacity) The capacity units consumed by the entireTransactWriteItems
operation.itemCollectionMetrics
(Map<String, ? extends Collection<ItemCollectionMetrics>> itemCollectionMetrics) A list of tables that were processed byTransactWriteItems
and, for each table, information about any item collections that were affected by individualUpdateItem
,PutItem
, orDeleteItem
operations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
consumedCapacity
The capacity units consumed by the entire
TransactWriteItems
operation. The values of the list are ordered according to the ordering of theTransactItems
request parameter.- Parameters:
consumedCapacity
- The capacity units consumed by the entireTransactWriteItems
operation. The values of the list are ordered according to the ordering of theTransactItems
request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
The capacity units consumed by the entire
TransactWriteItems
operation. The values of the list are ordered according to the ordering of theTransactItems
request parameter.- Parameters:
consumedCapacity
- The capacity units consumed by the entireTransactWriteItems
operation. The values of the list are ordered according to the ordering of theTransactItems
request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
TransactWriteItemsResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entire
This is a convenience method that creates an instance of theTransactWriteItems
operation. The values of the list are ordered according to the ordering of theTransactItems
request parameter.ConsumedCapacity.Builder
avoiding the need to create one manually viaConsumedCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconsumedCapacity(List<ConsumedCapacity>)
.- Parameters:
consumedCapacity
- a consumer that will call methods onConsumedCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
itemCollectionMetrics
TransactWriteItemsResponse.Builder itemCollectionMetrics(Map<String, ? extends Collection<ItemCollectionMetrics>> itemCollectionMetrics) A list of tables that were processed by
TransactWriteItems
and, for each table, information about any item collections that were affected by individualUpdateItem
,PutItem
, orDeleteItem
operations.- Parameters:
itemCollectionMetrics
- A list of tables that were processed byTransactWriteItems
and, for each table, information about any item collections that were affected by individualUpdateItem
,PutItem
, orDeleteItem
operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-