code: public void setInstanceIds(java.util.Collection<InstanceIdDetail> instanceIds) {
          if (instanceIds == null) {
              this.instanceIds = null;
              return;
          }
  
          this.instanceIds = new java.util.ArrayList<InstanceIdDetail>(instanceIds);
      }
docs: <p>
  A list of EC2 instance IDs for any instance corresponding to the trace segments.
  </p>
  
  @param instanceIds
  A list of EC2 instance IDs for any instance corresponding to the trace segments.