Package com.oracle.bmc.datacatalog.model
Class JobExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.JobExecutionSummary.Builder
-
- Enclosing class:
- JobExecutionSummary
public static class JobExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobExecutionSummary
build()
JobExecutionSummary.Builder
copy(JobExecutionSummary model)
JobExecutionSummary.Builder
jobKey(String jobKey)
The unique key of the parent job.JobExecutionSummary.Builder
jobType(JobType jobType)
Type of the job execution.JobExecutionSummary.Builder
key(String key)
Unique key of the job execution resource.JobExecutionSummary.Builder
lifecycleState(JobExecutionState lifecycleState)
Status of the job execution, such as running, paused, or completed.JobExecutionSummary.Builder
parentKey(String parentKey)
The unique key of the parent execution or null if this job execution has no parent.JobExecutionSummary.Builder
scheduleInstanceKey(String scheduleInstanceKey)
The unique key of the triggering external scheduler resource or null if this job execution is not externally triggered.JobExecutionSummary.Builder
timeCreated(Date timeCreated)
The date and time the job execution was created, in the format defined by RFC3339.JobExecutionSummary.Builder
timeEnded(Date timeEnded)
Time that the job execution ended or null if it hasn’t yet completed.JobExecutionSummary.Builder
timeStarted(Date timeStarted)
Time that job execution started.JobExecutionSummary.Builder
uri(String uri)
URI to the job execution instance in the API.
-
-
-
Method Detail
-
key
public JobExecutionSummary.Builder key(String key)
Unique key of the job execution resource.- Parameters:
key
- the value to set- Returns:
- this builder
-
jobKey
public JobExecutionSummary.Builder jobKey(String jobKey)
The unique key of the parent job.- Parameters:
jobKey
- the value to set- Returns:
- this builder
-
jobType
public JobExecutionSummary.Builder jobType(JobType jobType)
Type of the job execution.- Parameters:
jobType
- the value to set- Returns:
- this builder
-
parentKey
public JobExecutionSummary.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
-
scheduleInstanceKey
public JobExecutionSummary.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
-
lifecycleState
public JobExecutionSummary.Builder lifecycleState(JobExecutionState lifecycleState)
Status of the job execution, such as running, paused, or completed.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public JobExecutionSummary.Builder timeCreated(Date timeCreated)
The date and time the job execution was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeStarted
public JobExecutionSummary.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 JobExecutionSummary.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
-
uri
public JobExecutionSummary.Builder uri(String uri)
URI to the job execution instance in the API.- Parameters:
uri
- the value to set- Returns:
- this builder
-
build
public JobExecutionSummary build()
-
copy
public JobExecutionSummary.Builder copy(JobExecutionSummary model)
-
-