code: public GetSampledRequestsResult withSampledRequests(SampledHTTPRequest... sampledRequests) {
          if (this.sampledRequests == null) {
              setSampledRequests(new java.util.ArrayList<SampledHTTPRequest>(sampledRequests.length));
          }
          for (SampledHTTPRequest ele : sampledRequests) {
              this.sampledRequests.add(ele);
          }
          return this;
      }
docs: <p>
  A complex type that contains detailed information about each of the requests in the sample.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSampledRequests(java.util.Collection)} or {@link #withSampledRequests(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param sampledRequests
  A complex type that contains detailed information about each of the requests in the sample.
  @return Returns a reference to this object so that method calls can be chained together.