@Override
public IMongoImportConfig build() {
IFeatureAwareVersion version = version().get();
Net net = net().get();
Timeout timeout = timeout().get();
String database = get(DB_NAME);
String collection = get(COLLECTION);
String importFile = get(IMPORT_FILE);
String type = get(TYPE);
Boolean headerline = get(HEADERLINE);
Boolean jsonArray= get(JSON_ARRAY);
Boolean upsert = get(UPSERT);
Boolean drop = get(DROP);
IMongoCmdOptions cmdOptions=get(CMD_OPTIONS);
String pidFile = get(PID_FILE);
Long stopTimeoutInMillis = get(STOP_TIMEOUT_MILLIS);
return new ImmutableMongoImportConfig(version, net, timeout, cmdOptions, pidFile,
database, collection, importFile, type, headerline, jsonArray, upsert, drop, stopTimeoutInMillis);
}