package com.sforce.async; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.sforce.ws.ConnectionException; import com.sforce.ws.bind.TypeInfo; import com.sforce.ws.bind.TypeMapper; import com.sforce.ws.bind.XMLizable; import com.sforce.ws.parser.XmlInputStream; import com.sforce.ws.parser.XmlOutputStream; import com.sforce.ws.util.Verbose; import java.io.IOException; import java.util.Calendar; import javax.xml.namespace.QName; @JsonIgnoreProperties(ignoreUnknown = true) public class JobInfo implements XMLizable { public JobInfo() {} public JobInfo(Builder builder) { if (builder.object != null) setObject(builder.object); if (builder.operation != null) setOperation(builder.operation); if (builder.assignmentRuleId != null) setAssignmentRuleId(builder.assignmentRuleId); if (builder.concurrencyMode != null) setConcurrencyMode(builder.concurrencyMode); if (builder.contentType != null) setContentType(builder.contentType); if (builder.externalIdFieldName != null) setExternalIdFieldName(builder.externalIdFieldName); if (builder.state != null) setState(builder.state); if (builder.id != null) setId(builder.id); if (builder.fastPathEnabled != null) setFastPathEnabled(builder.fastPathEnabled.booleanValue()); } private static final TypeInfo id__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "id", "http://www.w3.org/2001/XMLSchema", "string", 0, 1, true); private boolean id__is_set = false; private String id; public String getId() { return this.id; } public void setId(String id) { this.id = id; this.id__is_set = true; } private static final TypeInfo operation__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "operation", "http://www.force.com/2009/06/asyncapi/dataload", "OperationEnum", 0, 1, true); private boolean operation__is_set = false; private OperationEnum operation; public OperationEnum getOperation() { return this.operation; } public void setOperation(OperationEnum operation) { this.operation = operation; this.operation__is_set = true; } private static final TypeInfo object__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "object", "http://www.w3.org/2001/XMLSchema", "string", 0, 1, true); private boolean object__is_set = false; private String object; public String getObject() { return this.object; } public void setObject(String object) { this.object = object; this.object__is_set = true; } private static final TypeInfo createdById__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "createdById", "http://www.w3.org/2001/XMLSchema", "string", 0, 1, true); private boolean createdById__is_set = false; private String createdById; public String getCreatedById() { return this.createdById; } public void setCreatedById(String createdById) { this.createdById = createdById; this.createdById__is_set = true; } private static final TypeInfo createdDate__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "createdDate", "http://www.w3.org/2001/XMLSchema", "dateTime", 0, 1, true); private boolean createdDate__is_set = false; private Calendar createdDate; public Calendar getCreatedDate() { return this.createdDate; } public void setCreatedDate(Calendar createdDate) { this.createdDate = createdDate; this.createdDate__is_set = true; } private static final TypeInfo systemModstamp__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "systemModstamp", "http://www.w3.org/2001/XMLSchema", "dateTime", 0, 1, true); private boolean systemModstamp__is_set = false; private Calendar systemModstamp; public Calendar getSystemModstamp() { return this.systemModstamp; } public void setSystemModstamp(Calendar systemModstamp) { this.systemModstamp = systemModstamp; this.systemModstamp__is_set = true; } private static final TypeInfo state__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "state", "http://www.force.com/2009/06/asyncapi/dataload", "JobStateEnum", 0, 1, true); private boolean state__is_set = false; private JobStateEnum state; public JobStateEnum getState() { return this.state; } public void setState(JobStateEnum state) { this.state = state; this.state__is_set = true; } private static final TypeInfo externalIdFieldName__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "externalIdFieldName", "http://www.w3.org/2001/XMLSchema", "string", 0, 1, true); private boolean externalIdFieldName__is_set = false; private String externalIdFieldName; public String getExternalIdFieldName() { return this.externalIdFieldName; } public void setExternalIdFieldName(String externalIdFieldName) { this.externalIdFieldName = externalIdFieldName; this.externalIdFieldName__is_set = true; } private static final TypeInfo concurrencyMode__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "concurrencyMode", "http://www.force.com/2009/06/asyncapi/dataload", "ConcurrencyMode", 0, 1, true); private boolean concurrencyMode__is_set = false; private ConcurrencyMode concurrencyMode; public ConcurrencyMode getConcurrencyMode() { return this.concurrencyMode; } public void setConcurrencyMode(ConcurrencyMode concurrencyMode) { this.concurrencyMode = concurrencyMode; this.concurrencyMode__is_set = true; } private static final TypeInfo fastPathEnabled__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "fastPathEnabled", "http://www.w3.org/2001/XMLSchema", "boolean", 0, 1, true); private boolean fastPathEnabled__is_set = false; private boolean fastPathEnabled; public boolean getFastPathEnabled() { return this.fastPathEnabled; } public void setFastPathEnabled(boolean fastPathEnabled) { this.fastPathEnabled = fastPathEnabled; this.fastPathEnabled__is_set = true; } private static final TypeInfo numberBatchesQueued__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberBatchesQueued", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberBatchesQueued__is_set = false; private int numberBatchesQueued; public int getNumberBatchesQueued() { return this.numberBatchesQueued; } public void setNumberBatchesQueued(int numberBatchesQueued) { this.numberBatchesQueued = numberBatchesQueued; this.numberBatchesQueued__is_set = true; } private static final TypeInfo numberBatchesInProgress__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberBatchesInProgress", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberBatchesInProgress__is_set = false; private int numberBatchesInProgress; public int getNumberBatchesInProgress() { return this.numberBatchesInProgress; } public void setNumberBatchesInProgress(int numberBatchesInProgress) { this.numberBatchesInProgress = numberBatchesInProgress; this.numberBatchesInProgress__is_set = true; } private static final TypeInfo numberBatchesCompleted__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberBatchesCompleted", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberBatchesCompleted__is_set = false; private int numberBatchesCompleted; public int getNumberBatchesCompleted() { return this.numberBatchesCompleted; } public void setNumberBatchesCompleted(int numberBatchesCompleted) { this.numberBatchesCompleted = numberBatchesCompleted; this.numberBatchesCompleted__is_set = true; } private static final TypeInfo numberBatchesFailed__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberBatchesFailed", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberBatchesFailed__is_set = false; private int numberBatchesFailed; public int getNumberBatchesFailed() { return this.numberBatchesFailed; } public void setNumberBatchesFailed(int numberBatchesFailed) { this.numberBatchesFailed = numberBatchesFailed; this.numberBatchesFailed__is_set = true; } private static final TypeInfo numberBatchesTotal__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberBatchesTotal", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberBatchesTotal__is_set = false; private int numberBatchesTotal; public int getNumberBatchesTotal() { return this.numberBatchesTotal; } public void setNumberBatchesTotal(int numberBatchesTotal) { this.numberBatchesTotal = numberBatchesTotal; this.numberBatchesTotal__is_set = true; } private static final TypeInfo numberRecordsProcessed__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberRecordsProcessed", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberRecordsProcessed__is_set = false; private int numberRecordsProcessed; public int getNumberRecordsProcessed() { return this.numberRecordsProcessed; } public void setNumberRecordsProcessed(int numberRecordsProcessed) { this.numberRecordsProcessed = numberRecordsProcessed; this.numberRecordsProcessed__is_set = true; } private static final TypeInfo numberRetries__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "numberRetries", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberRetries__is_set = false; private int numberRetries; public int getNumberRetries() { return this.numberRetries; } public void setNumberRetries(int numberRetries) { this.numberRetries = numberRetries; this.numberRetries__is_set = true; } private static final TypeInfo contentType__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "contentType", "http://www.force.com/2009/06/asyncapi/dataload", "ContentType", 0, 1, true); private boolean contentType__is_set = false; private ContentType contentType; public ContentType getContentType() { return this.contentType; } public void setContentType(ContentType contentType) { this.contentType = contentType; this.contentType__is_set = true; } private static final TypeInfo apiVersion__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "apiVersion", "http://www.force.com/2009/06/asyncapi/dataload", "apiVersion", 0, 1, true); private boolean apiVersion__is_set = false; private double apiVersion; public double getApiVersion() { return this.apiVersion; } public void setApiVersion(double apiVersion) { this.apiVersion = apiVersion; this.apiVersion__is_set = true; } private static final TypeInfo assignmentRuleId__typeInfo = new TypeInfo("http://www.force.com/2009/06/asyncapi/dataload", "assignmentRuleId", "http://www.w3.org/2001/XMLSchema", "string", 0, 1, true); private boolean assignmentRuleId__is_set = false; private String assignmentRuleId; public String getAssignmentRuleId() { return this.assignmentRuleId; } public void setAssignmentRuleId(String assignmentRuleId) { this.assignmentRuleId = assignmentRuleId; this.assignmentRuleId__is_set = true; } private static final TypeInfo numberRecordsFailed__typeInfo = new TypeInfo( "http://www.force.com/2009/06/asyncapi/dataload", "numberRecordsFailed", "http://www.w3.org/2001/XMLSchema", "int", 0, 1, true); private boolean numberRecordsFailed__is_set = false; private int numberRecordsFailed; public int getNumberRecordsFailed() { return this.numberRecordsFailed; } public void setNumberRecordsFailed(int numberRecordsFailed) { this.numberRecordsFailed = numberRecordsFailed; this.numberRecordsFailed__is_set = true; } private static final TypeInfo totalProcessingTime__typeInfo = new TypeInfo( "http://www.force.com/2009/06/asyncapi/dataload", "totalProcessingTime", "http://www.w3.org/2001/XMLSchema", "long", 0, 1, true); private boolean totalProcessingTime__is_set = false; private long totalProcessingTime; public long getTotalProcessingTime() { return this.totalProcessingTime; } public void setTotalProcessingTime(long totalProcessingTime) { this.totalProcessingTime = totalProcessingTime; this.totalProcessingTime__is_set = true; } private static final TypeInfo apiActiveProcessingTime__typeInfo = new TypeInfo( "http://www.force.com/2009/06/asyncapi/dataload", "apiActiveProcessingTime", "http://www.w3.org/2001/XMLSchema", "long", 0, 1, true); private boolean apiActiveProcessingTime__is_set = false; private long apiActiveProcessingTime; public long getApiActiveProcessingTime() { return this.apiActiveProcessingTime; } public void setApiActiveProcessingTime(long apiActiveProcessingTime) { this.apiActiveProcessingTime = apiActiveProcessingTime; this.apiActiveProcessingTime__is_set = true; } private static final TypeInfo apexProcessingTime__typeInfo = new TypeInfo( "http://www.force.com/2009/06/asyncapi/dataload", "apexProcessingTime", "http://www.w3.org/2001/XMLSchema", "long", 0, 1, true); private boolean apexProcessingTime__is_set = false; private long apexProcessingTime; public long getApexProcessingTime() { return this.apexProcessingTime; } public void setApexProcessingTime(long apexProcessingTime) { this.apexProcessingTime = apexProcessingTime; this.apexProcessingTime__is_set = true; } public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException { __out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart()); writeFields(__out, __typeMapper); __out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart()); } protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException { __typeMapper.writeString(__out, id__typeInfo, this.id, this.id__is_set); __typeMapper.writeObject(__out, operation__typeInfo, this.operation, this.operation__is_set); __typeMapper.writeString(__out, object__typeInfo, this.object, this.object__is_set); __typeMapper.writeString(__out, createdById__typeInfo, this.createdById, this.createdById__is_set); __typeMapper.writeObject(__out, createdDate__typeInfo, this.createdDate, this.createdDate__is_set); __typeMapper.writeObject(__out, systemModstamp__typeInfo, this.systemModstamp, this.systemModstamp__is_set); __typeMapper.writeObject(__out, state__typeInfo, this.state, this.state__is_set); __typeMapper .writeObject(__out, externalIdFieldName__typeInfo, this.externalIdFieldName, this.externalIdFieldName__is_set); __typeMapper.writeObject(__out, concurrencyMode__typeInfo, this.concurrencyMode, this.concurrencyMode__is_set); __typeMapper.writeObject(__out, contentType__typeInfo, this.contentType, this.contentType__is_set); __typeMapper.writeInt(__out, numberBatchesQueued__typeInfo, this.numberBatchesQueued, this.numberBatchesQueued__is_set); __typeMapper.writeInt(__out, numberBatchesInProgress__typeInfo, this.numberBatchesInProgress, this.numberBatchesInProgress__is_set); __typeMapper.writeInt(__out, numberBatchesCompleted__typeInfo, this.numberBatchesCompleted, this.numberBatchesCompleted__is_set); __typeMapper.writeInt(__out, numberBatchesFailed__typeInfo, this.numberBatchesFailed, this.numberBatchesFailed__is_set); __typeMapper.writeInt(__out, numberBatchesTotal__typeInfo, this.numberBatchesTotal, this.numberBatchesTotal__is_set); __typeMapper.writeInt(__out, numberRecordsProcessed__typeInfo, this.numberRecordsProcessed, this.numberRecordsProcessed__is_set); __typeMapper.writeInt(__out, numberRetries__typeInfo, this.numberRetries, this.numberRetries__is_set); __typeMapper.writeDouble(__out, apiVersion__typeInfo, this.apiVersion, this.apiVersion__is_set); __typeMapper.writeString(__out, assignmentRuleId__typeInfo, this.assignmentRuleId, this.assignmentRuleId__is_set); __typeMapper.writeInt(__out, numberRecordsFailed__typeInfo, this.numberRecordsFailed, this.numberRecordsFailed__is_set); __typeMapper.writeLong(__out, totalProcessingTime__typeInfo, this.totalProcessingTime, this.totalProcessingTime__is_set); __typeMapper.writeLong(__out, apiActiveProcessingTime__typeInfo, this.apiActiveProcessingTime, this.apiActiveProcessingTime__is_set); __typeMapper.writeLong(__out, apexProcessingTime__typeInfo, this.apexProcessingTime, this.apexProcessingTime__is_set); __typeMapper.writeBoolean(__out, fastPathEnabled__typeInfo, this.fastPathEnabled, this.fastPathEnabled__is_set); } public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException { __typeMapper.consumeStartTag(__in); loadFields(__in, __typeMapper); __typeMapper.consumeEndTag(__in); } protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, id__typeInfo)) setId(__typeMapper.readString(__in, id__typeInfo, String.class)); __in.peekTag(); if (__typeMapper.isElement(__in, operation__typeInfo)) setOperation((OperationEnum)__typeMapper .readObject(__in, operation__typeInfo, OperationEnum.class)); __in.peekTag(); if (__typeMapper.isElement(__in, object__typeInfo)) setObject(__typeMapper.readString(__in, object__typeInfo, String.class)); __in.peekTag(); if (__typeMapper.isElement(__in, createdById__typeInfo)) setCreatedById(__typeMapper.readString(__in, createdById__typeInfo, String.class)); __in.peekTag(); if (__typeMapper.isElement(__in, createdDate__typeInfo)) setCreatedDate((Calendar)__typeMapper .readObject(__in, createdDate__typeInfo, Calendar.class)); __in.peekTag(); if (__typeMapper.isElement(__in, systemModstamp__typeInfo)) setSystemModstamp((Calendar)__typeMapper .readObject(__in, systemModstamp__typeInfo, Calendar.class)); __in.peekTag(); if (__typeMapper.isElement(__in, state__typeInfo)) setState((JobStateEnum)__typeMapper .readObject(__in, state__typeInfo, JobStateEnum.class)); __in.peekTag(); if (__typeMapper.isElement(__in, externalIdFieldName__typeInfo)) setExternalIdFieldName(__typeMapper.readString(__in, externalIdFieldName__typeInfo, String.class)); __in.peekTag(); if (__typeMapper.isElement(__in, concurrencyMode__typeInfo)) setConcurrencyMode( (ConcurrencyMode)__typeMapper.readObject(__in, concurrencyMode__typeInfo, ConcurrencyMode.class)); __in.peekTag(); if (__typeMapper.isElement(__in, contentType__typeInfo)) setContentType((ContentType)__typeMapper.readObject(__in, contentType__typeInfo, ContentType.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberBatchesQueued__typeInfo)) setNumberBatchesQueued(__typeMapper.readInt(__in, numberBatchesQueued__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberBatchesInProgress__typeInfo)) setNumberBatchesInProgress(__typeMapper.readInt(__in, numberBatchesInProgress__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberBatchesCompleted__typeInfo)) setNumberBatchesCompleted(__typeMapper.readInt(__in, numberBatchesCompleted__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberBatchesFailed__typeInfo)) setNumberBatchesFailed(__typeMapper.readInt(__in, numberBatchesFailed__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberBatchesTotal__typeInfo)) setNumberBatchesTotal(__typeMapper.readInt(__in, numberBatchesTotal__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberRecordsProcessed__typeInfo)) setNumberRecordsProcessed(__typeMapper.readInt(__in, numberRecordsProcessed__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberRetries__typeInfo)) setNumberRetries(__typeMapper.readInt(__in, numberRetries__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, apiVersion__typeInfo)) setApiVersion(__typeMapper.readDouble(__in, apiVersion__typeInfo, double.class)); __in.peekTag(); if (__typeMapper.isElement(__in, assignmentRuleId__typeInfo)) setAssignmentRuleId(__typeMapper.readString(__in, assignmentRuleId__typeInfo, String.class)); __in.peekTag(); if (__typeMapper.isElement(__in, numberRecordsFailed__typeInfo)) setNumberRecordsFailed(__typeMapper.readInt(__in, numberRecordsFailed__typeInfo, int.class)); __in.peekTag(); if (__typeMapper.isElement(__in, totalProcessingTime__typeInfo)) setTotalProcessingTime(__typeMapper.readLong(__in, totalProcessingTime__typeInfo, long.class)); __in.peekTag(); if (__typeMapper.isElement(__in, apiActiveProcessingTime__typeInfo)) setApiActiveProcessingTime(__typeMapper.readLong(__in, apiActiveProcessingTime__typeInfo, long.class)); __in.peekTag(); if (__typeMapper.isElement(__in, apexProcessingTime__typeInfo)) setApexProcessingTime(__typeMapper.readLong(__in, apexProcessingTime__typeInfo, long.class)); __in.peekTag(); if (__typeMapper.isElement(__in, fastPathEnabled__typeInfo)) setFastPathEnabled(__typeMapper.readBoolean(__in, fastPathEnabled__typeInfo, boolean.class)); } public String toString() { StringBuilder sb = new StringBuilder(); sb.append("[JobInfo "); sb.append(" id="); sb.append("'").append(Verbose.toString(this.id)).append("'\n"); sb.append(" operation="); sb.append("'").append(Verbose.toString(this.operation)).append("'\n"); sb.append(" object="); sb.append("'").append(Verbose.toString(this.object)).append("'\n"); sb.append(" createdById="); sb.append("'").append(Verbose.toString(this.createdById)).append("'\n"); sb.append(" createdDate="); sb.append("'").append(Verbose.toString(this.createdDate)).append("'\n"); sb.append(" systemModstamp="); sb.append("'").append(Verbose.toString(this.systemModstamp)).append("'\n"); sb.append(" state="); sb.append("'").append(Verbose.toString(this.state)).append("'\n"); sb.append(" externalIdFieldName="); sb.append("'").append(Verbose.toString(this.externalIdFieldName)).append("'\n"); sb.append(" concurrencyMode="); sb.append("'").append(Verbose.toString(this.concurrencyMode)).append("'\n"); sb.append(" contentType="); sb.append("'").append(Verbose.toString(this.contentType)).append("'\n"); sb.append(" numberBatchesQueued="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberBatchesQueued))).append("'\n"); sb.append(" numberBatchesInProgress="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberBatchesInProgress))).append("'\n"); sb.append(" numberBatchesCompleted="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberBatchesCompleted))).append("'\n"); sb.append(" numberBatchesFailed="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberBatchesFailed))).append("'\n"); sb.append(" numberBatchesTotal="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberBatchesTotal))).append("'\n"); sb.append(" numberRecordsProcessed="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberRecordsProcessed))).append("'\n"); sb.append(" numberRetries="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberRetries))).append("'\n"); sb.append(" apiVersion="); sb.append("'").append(Verbose.toString(Double.valueOf(this.apiVersion))).append("'\n"); sb.append(" assignmentRuleId="); sb.append("'").append(Verbose.toString(this.assignmentRuleId)).append("'\n"); sb.append(" numberRecordsFailed="); sb.append("'").append(Verbose.toString(Integer.valueOf(this.numberRecordsFailed))).append("'\n"); sb.append(" totalProcessingTime="); sb.append("'").append(Verbose.toString(Long.valueOf(this.totalProcessingTime))).append("'\n"); sb.append(" apiActiveProcessingTime="); sb.append("'").append(Verbose.toString(Long.valueOf(this.apiActiveProcessingTime))).append("'\n"); sb.append(" apexProcessingTime="); sb.append("'").append(Verbose.toString(Long.valueOf(this.apexProcessingTime))).append("'\n"); sb.append(" fastPathEnabled="); sb.append("'").append(Verbose.toString(Boolean.valueOf(this.fastPathEnabled))).append("'\n"); sb.append("]\n"); return sb.toString(); } public static class Builder { private String object; private OperationEnum operation; private String assignmentRuleId; private ConcurrencyMode concurrencyMode; private ContentType contentType; private String externalIdFieldName; private JobStateEnum state; private String id; private Boolean fastPathEnabled; public Builder object(String object) { this.object = object; return this; } public Builder operation(OperationEnum operation) { this.operation = operation; return this; } public Builder assignmentRuleId(String assignmentRuleId) { this.assignmentRuleId = assignmentRuleId; return this; } public Builder concurrencyMode(ConcurrencyMode concurrencyMode) { this.concurrencyMode = concurrencyMode; return this; } public Builder contentType(ContentType contentType) { this.contentType = contentType; return this; } public Builder externalIdFieldName(String externalIdFieldName) { this.externalIdFieldName = externalIdFieldName; return this; } public Builder state(JobStateEnum jobState) { this.state = jobState; return this; } public Builder id(String id) { this.id = id; return this; } public Builder fastPathEnabled(boolean fastPathEnabled) { this.fastPathEnabled = Boolean.valueOf(fastPathEnabled); return this; } } }