code: public BatchGetPartitionRequest withPartitionsToGet(PartitionValueList... partitionsToGet) {
          if (this.partitionsToGet == null) {
              setPartitionsToGet(new java.util.ArrayList<PartitionValueList>(partitionsToGet.length));
          }
          for (PartitionValueList ele : partitionsToGet) {
              this.partitionsToGet.add(ele);
          }
          return this;
      }
docs: <p>
  A list of partition values identifying the partitions to retrieve.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPartitionsToGet(java.util.Collection)} or {@link #withPartitionsToGet(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param partitionsToGet
  A list of partition values identifying the partitions to retrieve.
  @return Returns a reference to this object so that method calls can be chained together.