public static HostInfo createSuspended(HostStatus status, Instant suspendedSince) {
        if (!status.isSuspended()) {
            throw new IllegalArgumentException(status + " is not a suspended-status");
        }

        return new HostInfo(status, Optional.of(suspendedSince));
    }
ZooKeeper-backed information Host status information about a host.

@author hakonhall
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/HostInfo.java