private ServiceInstance toServiceInstance(
            ApplicationId applicationId,
            ClusterId clusterId,
            ServiceInfo serviceInfo,
            HostName hostName,
            ServiceStatusProvider serviceStatusProvider) {
        ConfigId configId = toConfigId(serviceInfo);
        ServiceType serviceType = toServiceType(serviceInfo);
        ServiceStatusInfo status = serviceStatusProvider.getStatus(applicationId, clusterId, serviceType, configId);

        return new ServiceInstance(configId, hostName, status);
    }
Reverse of toApplicationInstanceId, put in this file because it its inverse is.
service-monitor/src/main/java/com/yahoo/vespa/service/model/ApplicationInstanceGenerator.java