code: public AgentInfo withAgentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList) {
          if (this.agentNetworkInfoList == null) {
              setAgentNetworkInfoList(new java.util.ArrayList<AgentNetworkInfo>(agentNetworkInfoList.length));
          }
          for (AgentNetworkInfo ele : agentNetworkInfoList) {
              this.agentNetworkInfoList.add(ele);
          }
          return this;
      }
docs: <p>
  Network details about the host where the agent or connector resides.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAgentNetworkInfoList(java.util.Collection)} or {@link #withAgentNetworkInfoList(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param agentNetworkInfoList
  Network details about the host where the agent or connector resides.
  @return Returns a reference to this object so that method calls can be chained together.