public AlertState state(double value) {
    return getThreshold().state(value);
  }
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