@Override
  public int hashCode() {
    return Objects.hash(reporting, type);
  }
Sets the OK/WARNING/CRTICAL structures.

@param reporting
         the reporting structure or {@code null} for none.
ambari-server/src/main/java/org/apache/ambari/server/state/alert/Source.java