public void setConsumedCapacity(ConsumedCapacity consumedCapacity) {
        this.consumedCapacity = consumedCapacity;
    }
<p>
The capacity units consumed by the <code>Scan</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>

@param consumedCapacity
       The capacity units consumed by the <code>Scan</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/ScanResult.java