qbit/core/src/main/java/io/advantageous/qbit/service/discovery/EndpointDefinition.java
public static EndpointDefinition serviceDefinitionWithId(
            final String name,
            final String host,
            final String id) {

        return new EndpointDefinition(HealthStatus.PASS,
                id, name, host, 0);
    }
public static EndpointDefinition serviceDefinitionWithId(
            final String name,
            final String host,
            final String id) {

        return new EndpointDefinition(HealthStatus.PASS,
                id, name, host, 0);
    }
Creates a EndpointDefinition for a service, i.e., a serviceDefinition.

@param id   id
@param name name
@param host host
@return EndpointDefinition