public ConfigBuilder withHost ( final String host ) { if ( host == null || "" . equals ( host ) ) { throw new IllegalArgumentException ( "host must not be null or empty: " + host ) ; } this . host = host ; return this ; }
Configs created by this ConfigBuilder will have the given Redis hostname .