public VirtualHost virtualHost() {
        if (virtualHost == null) {
            throw new IllegalStateException("Server has not been configured yet.");
        }
        return virtualHost;
    }
Returns the {@link VirtualHost} the {@link #service()} belongs to.
core/src/main/java/com/linecorp/armeria/server/ServiceConfig.java