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);
    }
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
Creates a EndpointDefinition for a service i . e . a serviceDefinition .