code: private static String buildLink(final URI linkUri, final String relation) {
          return Link.fromUri(linkUri).rel(relation).build().toString();
      }
docs: Utility function for building a Link.
  
  @param linkUri The URI for the link.
  @param relation the relation string.
  @return the string version of the link.