@Override
  public int hashCode() {
    return Objects.hash(linkName, linkUrl);
  }
In addition to filtering this filter allows overriding the link url too.
ambari-server/src/main/java/org/apache/ambari/server/state/quicklinksprofile/LinkNameFilter.java