@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }

    if (obj == null || getClass() != obj.getClass()) {
      return false;
    }

    Reporting other = (Reporting) obj;
    return Objects.equals(m_critical, other.m_critical) &&
      Objects.equals(m_ok, other.m_ok) &&
      Objects.equals(m_warning, other.m_warning) &&
      Objects.equals(m_type, other.m_type);
  }
Sets the label that identifies the units that the threshold values are in.
For example, this could be "s" for seconds or GB for "Gigabytes".

@param units
         the units, or {@code null} for none.
ambari-server/src/main/java/org/apache/ambari/server/state/alert/Reporting.java