code: public Couchbase environment(final java.util.function.Supplier<CouchbaseEnvironment> env) {
      return environment(c -> env.get());
    }
docs: Set a shared {@link CouchbaseEnvironment}. The environment will shutdown automatically.
  
  @param env Environment provider.
  @return This module.