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