public static CouchbaseCluster create(final List<String> nodes) {
        return new CouchbaseCluster(
            DefaultCouchbaseEnvironment.create(),
            ConnectionString.fromHostnames(nodes),
            false
        );
    }
public static CouchbaseCluster create ( final List < String > nodes ) { return new CouchbaseCluster ( DefaultCouchbaseEnvironment . create ( ) , ConnectionString . fromHostnames ( nodes ) , false ) ; }
Creates a new {@link CouchbaseCluster} reference against the nodes passed in.

The {@link CouchbaseEnvironment} will be automatically created and its lifecycle managed.

@param nodes the list of nodes to use when connecting to the cluster reference.
@return a new {@link CouchbaseCluster} reference.