public static class JobExecutionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public JobExecutionSummary.Builder key(String key)
Unique key of the job execution resource.
key
- the value to setpublic JobExecutionSummary.Builder jobKey(String jobKey)
The unique key of the parent job.
jobKey
- the value to setpublic JobExecutionSummary.Builder jobType(JobType jobType)
Type of the job execution.
jobType
- the value to setpublic JobExecutionSummary.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 JobExecutionSummary.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 JobExecutionSummary.Builder lifecycleState(JobExecutionState lifecycleState)
Status of the job execution, such as running, paused, or completed.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic JobExecutionSummary.Builder timeStarted(Date timeStarted)
Time that job execution started. An RFC3339 formatted datetime string.
timeStarted
- the value to setpublic JobExecutionSummary.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 JobExecutionSummary.Builder uri(String uri)
URI to the job execution instance in the API.
uri
- the value to setpublic JobExecutionSummary build()
public JobExecutionSummary.Builder copy(JobExecutionSummary model)
Copyright © 2016–2024. All rights reserved.