Interface TransactWriteItemsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TransactWriteItemsResponse.Builder,TransactWriteItemsResponse>
,DynamoDbResponse.Builder
,SdkBuilder<TransactWriteItemsResponse.Builder,TransactWriteItemsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- TransactWriteItemsResponse
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.Builder
consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entireTransactWriteItems
operation.TransactWriteItemsResponse.Builder
consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
The capacity units consumed by the entireTransactWriteItems
operation.TransactWriteItemsResponse.Builder
consumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entireTransactWriteItems
operation.TransactWriteItemsResponse.Builder
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 Detail
-
consumedCapacity
TransactWriteItemsResponse.Builder consumedCapacity(Collection<ConsumedCapacity> 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(ConsumedCapacity... 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 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
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.
-
-