src/main/java/com/theoryinpractise/halbuilder5/ResourceRepresentation.java
public ResourceRepresentation<V> withLink(
      String rel, String href, java.util.Map<String, String> properties) {
    return withLink(Links.create(rel, href, HashMap.ofAll(properties)));
  }
public ResourceRepresentation<V> withLink(
      String rel, String href, java.util.Map<String, String> properties) {
    return withLink(Links.create(rel, href, HashMap.ofAll(properties)));
  }
Add a link to this resource.

@param rel
@param href The target href for the link, relative to the href of this resource.
@param properties The properties to add to this link object