code: public void setAgentHealthCodes(java.util.Collection<String> agentHealthCodes) {
          if (agentHealthCodes == null) {
              this.agentHealthCodes = null;
              return;
          }
  
          this.agentHealthCodes = new java.util.ArrayList<String>(agentHealthCodes);
      }
docs: <p>
  The detailed health state of the agent. Values can be set to <b>IDLE</b>, <b>RUNNING</b>, <b>SHUTDOWN</b>,
  <b>UNHEALTHY</b>, <b>THROTTLED</b>, and <b>UNKNOWN</b>.
  </p>
  
  @param agentHealthCodes
  The detailed health state of the agent. Values can be set to <b>IDLE</b>, <b>RUNNING</b>, <b>SHUTDOWN</b>,
  <b>UNHEALTHY</b>, <b>THROTTLED</b>, and <b>UNKNOWN</b>.
  @see AgentHealthCode