code: public HalResource removeLinkWithHref(String relation, String href) {
  
      List<Link> links = getLinks(relation);
      for (int i = 0; i < links.size(); i++) {
        if (href.equals(links.get(i).getHref())) {
          return removeLink(relation, i);
        }
      }
  
      return this;
    }
docs: Remove the link with the given relation and href
  @param relation Link relation
  @param href to identify the link to remove
  @return this HAL resource