code: public ServiceDependency build() {
          return new ServiceDependency(name, description, url, type, subtype, methods, mediaTypes, authentication, criticality, expectations);
      }
docs: Builds a ServiceDependency instance.
  
  @return service dependency