@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    AgentConfigsUpdateEvent that = (AgentConfigsUpdateEvent) o;

    return Objects.equals(hostId, that.hostId) &&
      Objects.equals(clustersConfigs, that.clustersConfigs);
  }
Configs grouped by cluster id as keys.
ambari-server/src/main/java/org/apache/ambari/server/events/AgentConfigsUpdateEvent.java