code: public DescribeAgentsResult withAgentsInfo(AgentInfo... agentsInfo) {
          if (this.agentsInfo == null) {
              setAgentsInfo(new java.util.ArrayList<AgentInfo>(agentsInfo.length));
          }
          for (AgentInfo ele : agentsInfo) {
              this.agentsInfo.add(ele);
          }
          return this;
      }
docs: <p>
  Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
  not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control
  (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of
  each agent/Connector.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAgentsInfo(java.util.Collection)} or {@link #withAgentsInfo(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param agentsInfo
  Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if
  you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media
  access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and
  the version number of each agent/Connector.
  @return Returns a reference to this object so that method calls can be chained together.