@Override
    public int hashCode() {
      return Objects.hash(level, message);
    }
Simple struct with {@link AlertLevel} and {@code String} message with {@code equals}
implemented to compare both fields.
geode-core/src/distributedTest/java/org/apache/geode/management/DistributedSystemMXBeanWithAlertsDistributedTest.java