Interface TransactWriteItemsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<TransactWriteItemsResponse.Builder,TransactWriteItemsResponse>,DynamoDbResponse.Builder,SdkBuilder<TransactWriteItemsResponse.Builder,TransactWriteItemsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- TransactWriteItemsResponse
@Mutable @NotThreadSafe public static interface TransactWriteItemsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<TransactWriteItemsResponse.Builder,TransactWriteItemsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactWriteItemsResponse.BuilderconsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)The capacity units consumed by the entireTransactWriteItemsoperation.TransactWriteItemsResponse.BuilderconsumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)The capacity units consumed by the entireTransactWriteItemsoperation.TransactWriteItemsResponse.BuilderconsumedCapacity(ConsumedCapacity... consumedCapacity)The capacity units consumed by the entireTransactWriteItemsoperation.TransactWriteItemsResponse.BuilderitemCollectionMetrics(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
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
consumedCapacity
TransactWriteItemsResponse.Builder consumedCapacity(Collection<ConsumedCapacity> 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(ConsumedCapacity... 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 to#consumedCapacity(List.) - 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:
#consumedCapacity(java.util.Collection)
-
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.
-
-