public NodeType childNodeType() {
        return childNodeType.orElseThrow(() -> new IllegalStateException(this + " is not a host"));
    }
@return {@link NodeType} of the node that run on this host
@throws IllegalStateException if this type is not a host
config-provisioning/src/main/java/com/yahoo/config/provision/NodeType.java