code: public BatchGetTracesResult withTraces(Trace... traces) {
          if (this.traces == null) {
              setTraces(new java.util.ArrayList<Trace>(traces.length));
          }
          for (Trace ele : traces) {
              this.traces.add(ele);
          }
          return this;
      }
docs: <p>
  Full traces for the specified requests.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTraces(java.util.Collection)} or {@link #withTraces(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param traces
  Full traces for the specified requests.
  @return Returns a reference to this object so that method calls can be chained together.