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 entireTransactWriteItemsoperation.consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entireTransactWriteItemsoperation.consumedCapacity(ConsumedCapacity... consumedCapacity) The capacity units consumed by the entireTransactWriteItemsoperation.itemCollectionMetrics(Map<String, ? extends Collection<ItemCollectionMetrics>> itemCollectionMetrics) A list of tables that were processed byTransactWriteItemsand, for each table, information about any item collections that were affected by individualUpdateItem,PutItem, orDeleteItemoperations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
consumedCapacity
The capacity units consumed by the entire
TransactWriteItemsoperation. The values of the list are ordered according to the ordering of theTransactItemsrequest parameter.- Parameters:
consumedCapacity- The capacity units consumed by the entireTransactWriteItemsoperation. The values of the list are ordered according to the ordering of theTransactItemsrequest parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
The capacity units consumed by the entire
TransactWriteItemsoperation. The values of the list are ordered according to the ordering of theTransactItemsrequest parameter.- Parameters:
consumedCapacity- The capacity units consumed by the entireTransactWriteItemsoperation. The values of the list are ordered according to the ordering of theTransactItemsrequest 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 theTransactWriteItemsoperation. The values of the list are ordered according to the ordering of theTransactItemsrequest parameter.ConsumedCapacity.Builderavoiding the need to create one manually viaConsumedCapacity.builder().When the
Consumercompletes,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
TransactWriteItemsand, for each table, information about any item collections that were affected by individualUpdateItem,PutItem, orDeleteItemoperations.- Parameters:
itemCollectionMetrics- A list of tables that were processed byTransactWriteItemsand, for each table, information about any item collections that were affected by individualUpdateItem,PutItem, orDeleteItemoperations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-