static Stream<LinkNameFilter> getLinkNameFilters(Stream<Filter> input) {
    return StreamUtils.instancesOf(input, LinkNameFilter.class);
  }
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