code: public PreviewAgentsResult withAgentPreviews(AgentPreview... agentPreviews) {
          if (this.agentPreviews == null) {
              setAgentPreviews(new java.util.ArrayList<AgentPreview>(agentPreviews.length));
          }
          for (AgentPreview ele : agentPreviews) {
              this.agentPreviews.add(ele);
          }
          return this;
      }
docs: <p>
  The resulting list of agents.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAgentPreviews(java.util.Collection)} or {@link #withAgentPreviews(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param agentPreviews
  The resulting list of agents.
  @return Returns a reference to this object so that method calls can be chained together.