code: public static String concatAttributeHref(
        String baseUri, String qualifiedEntityName, Object entityIdValue, String attributeName) {
      return String.format(
          "%s/%s/%s/%s",
          baseUri,
          encodePathSegment(qualifiedEntityName),
          encodePathSegment(DataConverter.toString(entityIdValue)),
          encodePathSegment(attributeName));
    }
docs: Create an encoded href for an attribute