public static ClickHouseCluster of(String cluster, ClickHouseNode node, ClickHouseNode... more) {
        if (node == null) {
            throw new IllegalArgumentException("At least one non-null node is required");
        }

        List<ClickHouseNode> list = new LinkedList<>();
        list.add(node);
        if (more != null) {
            list.addAll(Arrays.asList(more));
        }
        return of(cluster, list);
    }
Creates cluster object from list of nodes.

@param cluster cluster name
@param node    first node
@param more    more nodes if any
@return cluster object
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseCluster.java