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 Details

    • 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 the TransactItems request parameter.

      Parameters:
      consumedCapacity - The capacity units consumed by the entire TransactWriteItems operation. The values of the list are ordered according to the ordering of the TransactItems 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 the TransactItems request parameter.

      Parameters:
      consumedCapacity - The capacity units consumed by the entire TransactWriteItems operation. The values of the list are ordered according to the ordering of the TransactItems 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 the TransactItems request parameter.

      This is a convenience method that creates an instance of the ConsumedCapacity.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>).

      Parameters:
      consumedCapacity - a consumer that will call methods on ConsumedCapacity.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 individual UpdateItem, PutItem, or DeleteItem operations.

      Parameters:
      itemCollectionMetrics - A list of tables that were processed by TransactWriteItems and, for each table, information about any item collections that were affected by individual UpdateItem, PutItem, or DeleteItem operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.