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