code: public TraceSummary withInstanceIds(InstanceIdDetail... instanceIds) {
          if (this.instanceIds == null) {
              setInstanceIds(new java.util.ArrayList<InstanceIdDetail>(instanceIds.length));
          }
          for (InstanceIdDetail ele : instanceIds) {
              this.instanceIds.add(ele);
          }
          return this;
      }
docs: <p>
  A list of EC2 instance IDs for any instance corresponding to the trace segments.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setInstanceIds(java.util.Collection)} or {@link #withInstanceIds(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param instanceIds
  A list of EC2 instance IDs for any instance corresponding to the trace segments.
  @return Returns a reference to this object so that method calls can be chained together.