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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateJobExecutionDetails
build()
CreateJobExecutionDetails.Builder
copy(CreateJobExecutionDetails model)
CreateJobExecutionDetails.Builder
dataEntityKey(String dataEntityKey)
The key of the associated data entity resource.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.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.CreateJobExecutionDetails.Builder
eventKey(String eventKey)
An identifier used for log message correlation.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.CreateJobExecutionDetails.Builder
jobType(JobType jobType)
Type of the job execution.CreateJobExecutionDetails.Builder
lifecycleState(JobExecutionState lifecycleState)
Status of the job execution, such as running, paused, or completed.CreateJobExecutionDetails.Builder
parentKey(String parentKey)
The unique key of the parent execution or null if this job execution has no parent.CreateJobExecutionDetails.Builder
processKey(String processKey)
Process identifier related to the job execution if the job is an external job.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.CreateJobExecutionDetails.Builder
scheduleInstanceKey(String scheduleInstanceKey)
The unique key of the triggering external scheduler resource or null if this job execution is not externally triggered.CreateJobExecutionDetails.Builder
subType(String subType)
Sub-type of this job execution.CreateJobExecutionDetails.Builder
timeEnded(Date timeEnded)
Time that the job execution ended or null if it hasn’t yet completed.CreateJobExecutionDetails.Builder
timeStarted(Date timeStarted)
Time that job execution started.
-
-
-
Method Detail
-
subType
public CreateJobExecutionDetails.Builder subType(String subType)
Sub-type of this job execution.- Parameters:
subType
- the value to set- Returns:
- this builder
-
jobType
public CreateJobExecutionDetails.Builder jobType(JobType jobType)
Type of the job execution.- Parameters:
jobType
- the value to set- Returns:
- this builder
-
parentKey
public 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
-
timeStarted
public CreateJobExecutionDetails.Builder timeStarted(Date timeStarted)
Time that job execution started.An RFC3339 formatted datetime string.
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public 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
-
lifecycleState
public 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
-
errorCode
public 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
-
errorMessage
public 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
-
scheduleInstanceKey
public 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
-
processKey
public 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
-
externalUrl
public 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
-
eventKey
public CreateJobExecutionDetails.Builder eventKey(String eventKey)
An identifier used for log message correlation.- Parameters:
eventKey
- the value to set- Returns:
- this builder
-
dataEntityKey
public CreateJobExecutionDetails.Builder dataEntityKey(String dataEntityKey)
The key of the associated data entity resource.- Parameters:
dataEntityKey
- the value to set- Returns:
- this builder
-
properties
public 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
-
build
public CreateJobExecutionDetails build()
-
copy
public CreateJobExecutionDetails.Builder copy(CreateJobExecutionDetails model)
-
-