code: public void setAgentsInfo(java.util.Collection<AgentInfo> agentsInfo) {
          if (agentsInfo == null) {
              this.agentsInfo = null;
              return;
          }
  
          this.agentsInfo = new java.util.ArrayList<AgentInfo>(agentsInfo);
      }
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>
  
  @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.