code: public void setConsumedCapacity(java.util.Collection<ConsumedCapacity> consumedCapacity) {
          if (consumedCapacity == null) {
              this.consumedCapacity = null;
              return;
          }
  
          this.consumedCapacity = new java.util.ArrayList<ConsumedCapacity>(consumedCapacity);
      }
docs: <p>
  The capacity units consumed by the entire <code>BatchWriteItem</code> operation.
  </p>
  <p>
  Each element consists of:
  </p>
  <ul>
  <li>
  <p>
  <code>TableName</code> - The table that consumed the provisioned throughput.
  </p>
  </li>
  <li>
  <p>
  <code>CapacityUnits</code> - The total number of capacity units consumed.
  </p>
  </li>
  </ul>
  
  @param consumedCapacity
  The capacity units consumed by the entire <code>BatchWriteItem</code> operation.</p>
  <p>
  Each element consists of:
  </p>
  <ul>
  <li>
  <p>
  <code>TableName</code> - The table that consumed the provisioned throughput.
  </p>
  </li>
  <li>
  <p>
  <code>CapacityUnits</code> - The total number of capacity units consumed.
  </p>
  </li>