code: public BatchGetTracesRequest withTraceIds(String... traceIds) {
          if (this.traceIds == null) {
              setTraceIds(new java.util.ArrayList<String>(traceIds.length));
          }
          for (String ele : traceIds) {
              this.traceIds.add(ele);
          }
          return this;
      }
docs: <p>
  Specify the trace IDs of requests for which to retrieve segments.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTraceIds(java.util.Collection)} or {@link #withTraceIds(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param traceIds
  Specify the trace IDs of requests for which to retrieve segments.
  @return Returns a reference to this object so that method calls can be chained together.