code: public Hits withHit(Hit... hit) {
          if (this.hit == null) {
              setHit(new com.amazonaws.internal.SdkInternalList<Hit>(hit.length));
          }
          for (Hit ele : hit) {
              this.hit.add(ele);
          }
          return this;
      }
docs: <p>
  A document that matches the search request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setHit(java.util.Collection)} or {@link #withHit(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param hit
  A document that matches the search request.
  @return Returns a reference to this object so that method calls can be chained together.