code: public static ServiceDependencyBuilder restServiceDependency(final String url) {
          return new ServiceDependencyBuilder()
                  .withUrl(url)
                  .withType(ServiceDependency.TYPE_SERVICE)
                  .withSubtype(ServiceDependency.SUBTYPE_REST)
                  .withMethods(singletonList("GET"))
                  .withMediaTypes(singletonList("application/json"));
      }
docs: Creates a ServiceDependencyBuilder with type="service" and subtype="REST".
  
  @param url the url or uri-template of the accessed REST service.
  @return ServiceDependencyBuilder