code: public BatchWriteResult withResponses(BatchWriteOperationResponse... responses) {
          if (this.responses == null) {
              setResponses(new java.util.ArrayList<BatchWriteOperationResponse>(responses.length));
          }
          for (BatchWriteOperationResponse ele : responses) {
              this.responses.add(ele);
          }
          return this;
      }
docs: <p>
  A list of all the responses for each batch write.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResponses(java.util.Collection)} or {@link #withResponses(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param responses
  A list of all the responses for each batch write.
  @return Returns a reference to this object so that method calls can be chained together.