docs: public BatchGetItemResult withConsumedCapacity(ConsumedCapacity... consumedCapacity) {
          if (this.consumedCapacity == null) {
              setConsumedCapacity(new java.util.ArrayList<ConsumedCapacity>(consumedCapacity.length));
          }
          for (ConsumedCapacity ele : consumedCapacity) {
              this.consumedCapacity.add(ele);
          }
          return this;
      }