@Override public IMongosConfig build() { IFeatureAwareVersion version = version().get(); Net net = net().get(); Timeout timeout = timeout().get(); String configDB = get(CONFIG_DB); String replicaSet = get(RELICA_SET); IMongoCmdOptions cmdOptions=get(CMD_OPTIONS); String pidFile = get(PID_FILE); return new ImmutableMongosConfig(version, net, timeout, cmdOptions, pidFile, configDB, replicaSet, args); }