code: public TableWriteItems addItemToPut(Item item) {
          if (item != null) {
              if (itemsToPut == null)
                  itemsToPut = new ArrayList<Item>();
              this.itemsToPut.add(item);
          }
          return this;
      }
docs: Adds an item to be put to the current table in a batch write operation.