public ConsumedCapacity getConsumedCapacity() {
        return this.consumedCapacity;
    }
<p>
The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned
throughput consumed, along with statistics for the table and any indexes involved in the operation.
<code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was
specified. For more information, see <a href=
"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption"
>Capacity unit consumption for read operations</a> in the <i>Amazon DynamoDB Developer Guide</i>.
</p>

@return The capacity units consumed by the <code>Query</code> operation. The data returned includes the total
        provisioned throughput consumed, along with statistics for the table and any indexes involved in the
        operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code>
        parameter was specified. For more information, see <a href=
        "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption"
        >Capacity unit consumption for read operations</a> in the <i>Amazon DynamoDB Developer Guide</i>.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/QueryResult.java