Package com.oracle.bmc.datacatalog.model
Class CreateJobExecutionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.model.CreateJobExecutionDetails.Builder
 
- 
- Enclosing class:
- CreateJobExecutionDetails
 
 public static class CreateJobExecutionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateJobExecutionDetailsbuild()CreateJobExecutionDetails.Buildercopy(CreateJobExecutionDetails model)CreateJobExecutionDetails.BuilderdataEntityKey(String dataEntityKey)The key of the associated data entity resource.CreateJobExecutionDetails.BuildererrorCode(String errorCode)Error code returned from the job execution or null if job is still running or didn’t return an error.CreateJobExecutionDetails.BuildererrorMessage(String errorMessage)Error message returned from the job execution or null if job is still running or didn’t return an error.CreateJobExecutionDetails.BuildereventKey(String eventKey)An identifier used for log message correlation.CreateJobExecutionDetails.BuilderexternalUrl(String externalUrl)If the job is an external process, then a URL of the job for accessing this resource and its status.CreateJobExecutionDetails.BuilderjobType(JobType jobType)Type of the job execution.CreateJobExecutionDetails.BuilderlifecycleState(JobExecutionState lifecycleState)Status of the job execution, such as running, paused, or completed.CreateJobExecutionDetails.BuilderparentKey(String parentKey)The unique key of the parent execution or null if this job execution has no parent.CreateJobExecutionDetails.BuilderprocessKey(String processKey)Process identifier related to the job execution if the job is an external job.CreateJobExecutionDetails.Builderproperties(Map<String,Map<String,String>> properties)A map of maps that contains the execution context properties which are specific to a job execution.CreateJobExecutionDetails.BuilderscheduleInstanceKey(String scheduleInstanceKey)The unique key of the triggering external scheduler resource or null if this job execution is not externally triggered.CreateJobExecutionDetails.BuildersubType(String subType)Sub-type of this job execution.CreateJobExecutionDetails.BuildertimeEnded(Date timeEnded)Time that the job execution ended or null if it hasn’t yet completed.CreateJobExecutionDetails.BuildertimeStarted(Date timeStarted)Time that job execution started.
 
- 
- 
- 
Method Detail- 
subTypepublic CreateJobExecutionDetails.Builder subType(String subType) Sub-type of this job execution.- Parameters:
- subType- the value to set
- Returns:
- this builder
 
 - 
jobTypepublic CreateJobExecutionDetails.Builder jobType(JobType jobType) Type of the job execution.- Parameters:
- jobType- the value to set
- Returns:
- this builder
 
 - 
parentKeypublic CreateJobExecutionDetails.Builder parentKey(String parentKey) The unique key of the parent execution or null if this job execution has no parent.- Parameters:
- parentKey- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic CreateJobExecutionDetails.Builder timeStarted(Date timeStarted) Time that job execution started.An RFC3339 formatted datetime string. - Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic CreateJobExecutionDetails.Builder timeEnded(Date timeEnded) Time that the job execution ended or null if it hasn’t yet completed.An RFC3339 formatted datetime string. - Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic CreateJobExecutionDetails.Builder lifecycleState(JobExecutionState lifecycleState) Status of the job execution, such as running, paused, or completed.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
errorCodepublic CreateJobExecutionDetails.Builder errorCode(String errorCode) Error code returned from the job execution or null if job is still running or didn’t return an error.- Parameters:
- errorCode- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic CreateJobExecutionDetails.Builder errorMessage(String errorMessage) Error message returned from the job execution or null if job is still running or didn’t return an error.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
scheduleInstanceKeypublic CreateJobExecutionDetails.Builder scheduleInstanceKey(String scheduleInstanceKey) The unique key of the triggering external scheduler resource or null if this job execution is not externally triggered.- Parameters:
- scheduleInstanceKey- the value to set
- Returns:
- this builder
 
 - 
processKeypublic CreateJobExecutionDetails.Builder processKey(String processKey) Process identifier related to the job execution if the job is an external job.- Parameters:
- processKey- the value to set
- Returns:
- this builder
 
 - 
externalUrlpublic CreateJobExecutionDetails.Builder externalUrl(String externalUrl) If the job is an external process, then a URL of the job for accessing this resource and its status.- Parameters:
- externalUrl- the value to set
- Returns:
- this builder
 
 - 
eventKeypublic CreateJobExecutionDetails.Builder eventKey(String eventKey) An identifier used for log message correlation.- Parameters:
- eventKey- the value to set
- Returns:
- this builder
 
 - 
dataEntityKeypublic CreateJobExecutionDetails.Builder dataEntityKey(String dataEntityKey) The key of the associated data entity resource.- Parameters:
- dataEntityKey- the value to set
- Returns:
- this builder
 
 - 
propertiespublic CreateJobExecutionDetails.Builder properties(Map<String,Map<String,String>> properties) A map of maps that contains the execution context properties which are specific to a job execution.Each job execution may define it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most job executions have required properties within the “default” category. Example: {“properties”: { “default”: { “host”: “host1”, “port”: “1521”, “database”: “orcl”}}} - Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateJobExecutionDetails build() 
 - 
copypublic CreateJobExecutionDetails.Builder copy(CreateJobExecutionDetails model) 
 
- 
 
-