public Hcast doWith(final Consumer<com.hazelcast.config.Config> configurer) {
    requireNonNull(configurer, "Configurer callback is required.");
    return doWith((config, conf) -> configurer.accept(config));
  }
public Hcast doWith(final Consumer<com.hazelcast.config.Config> configurer) {
    requireNonNull(configurer, "Configurer callback is required.");
    return doWith((config, conf) -> configurer.accept(config));
  }
public Hcast doWith ( final Consumer < com . hazelcast . config . Config > configurer ) { requireNonNull ( configurer , "Configurer callback is required." ) ; return doWith ( ( config , conf ) -> configurer . accept ( config ) ) ; }
Set a configurer callback.

@param configurer A configurer callback.
@return This instance.
Set a configurer callback .