public TransactGetItemsResult withConsumedCapacity(java.util.Collection<ConsumedCapacity> consumedCapacity) {
        setConsumedCapacity(consumedCapacity);
        return this;
    }
<p>
If the <i>ReturnConsumedCapacity</i> value was <code>TOTAL</code>, this is an array of
<code>ConsumedCapacity</code> objects, one for each table addressed by <code>TransactGetItem</code> objects in
the <i>TransactItems</i> parameter. These <code>ConsumedCapacity</code> objects report the read-capacity units
consumed by the <code>TransactGetItems</code> call in that table.
</p>

@param consumedCapacity
       If the <i>ReturnConsumedCapacity</i> value was <code>TOTAL</code>, this is an array of
       <code>ConsumedCapacity</code> objects, one for each table addressed by <code>TransactGetItem</code>
       objects in the <i>TransactItems</i> parameter. These <code>ConsumedCapacity</code> objects report the
       read-capacity units consumed by the <code>TransactGetItems</code> call in that table.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/TransactGetItemsResult.java