code: public TransactWriteItemsRequest withTransactItems(TransactWriteItem... transactItems) {
          if (this.transactItems == null) {
              setTransactItems(new java.util.ArrayList<TransactWriteItem>(transactItems.length));
          }
          for (TransactWriteItem ele : transactItems) {
              this.transactItems.add(ele);
          }
          return this;
      }
docs: <p>
  An ordered array of up to 10 <code>TransactWriteItem</code> objects, each of which contains a
  <code>ConditionCheck</code>, <code>Put</code>, <code>Update</code>, or <code>Delete</code> object. These can
  operate on items in different tables, but the tables must reside in the same AWS account and region, and no two
  of them can operate on the same item.
  </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>TransactWriteItem</code> objects, each of which contains a
  <code>ConditionCheck</code>, <code>Put</code>, <code>Update</code>, or <code>Delete</code> object. These
  can operate on items in different tables, but the tables must reside in the same AWS account and region,
  and no two of them can operate on the same item.
  @return Returns a reference to this object so that method calls can be chained together.