code: public PutTraceSegmentsResult withUnprocessedTraceSegments(UnprocessedTraceSegment... unprocessedTraceSegments) {
          if (this.unprocessedTraceSegments == null) {
              setUnprocessedTraceSegments(new java.util.ArrayList<UnprocessedTraceSegment>(unprocessedTraceSegments.length));
          }
          for (UnprocessedTraceSegment ele : unprocessedTraceSegments) {
              this.unprocessedTraceSegments.add(ele);
          }
          return this;
      }
docs: <p>
  Segments that failed processing.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setUnprocessedTraceSegments(java.util.Collection)} or
  {@link #withUnprocessedTraceSegments(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param unprocessedTraceSegments
  Segments that failed processing.
  @return Returns a reference to this object so that method calls can be chained together.