setStatus(status) {
    if (this.#enabled === false) {
      return
    }

    if (VALID_CODES.has(status) === false) {
      this.#logger.warn(`invalid health reporter status provided: ${status}`)
      return
    }

    if (
      status === HealthReporter.STATUS_AGENT_SHUTDOWN &&
      this.#status !== HealthReporter.STATUS_HEALTHY
    ) {
      this.#logger.info(
        `not setting shutdown health status due to current status code: ${this.#status}`
      )
      return
    }

    this.#status = status
  }
Update the known health status. This status will be written to the health
file on the next interval. If the provided status is not a recognized
status, a log will be written and the status will not be updated.

@param {string} status Utilize one of the static status fields.