code: public TransactGetItemsRequest withTransactItems(TransactGetItem... transactItems) {
          if (this.transactItems == null) {
              setTransactItems(new java.util.ArrayList<TransactGetItem>(transactItems.length));
          }
          for (TransactGetItem ele : transactItems) {
              this.transactItems.add(ele);
          }
          return this;
      }
docs: <p>
  An ordered array of up to 10 <code>TransactGetItem</code> objects, each of which contains a <code>Get</code>
  structure.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTransactItems(java.util.Collection)} or {@link #withTransactItems(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param transactItems
  An ordered array of up to 10 <code>TransactGetItem</code> objects, each of which contains a
  <code>Get</code> structure.
  @return Returns a reference to this object so that method calls can be chained together.