return this.jobInfo.getId();
}
void createJob(Config cfg) throws AsyncApiException {
JobInfo job = new JobInfo();
final OperationEnum op = cfg.getOperationInfo().getOperationEnum();
job.setOperation(op);
if (op == OperationEnum.upsert) {
job.setExternalIdFieldName(cfg.getString(Config.EXTERNAL_ID_FIELD));
}
job.setObject(cfg.getString(Config.ENTITY));