@Override  public String apply(RepositoryInfo input) {
      return input.repoId;
    }
A function that returns the repoId of any RepositoryInfo
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java