public static class JobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
build() |
JobSummary.Builder |
catalogId(String catalogId)
The data catalog’s OCID.
|
JobSummary.Builder |
copy(JobSummary model) |
JobSummary.Builder |
createdById(String createdById)
OCID of the user who created this job.
|
JobSummary.Builder |
dataAssetKey(String dataAssetKey)
Unique key of the data asset to which this job applies, if the job involves a data asset.
|
JobSummary.Builder |
description(String description)
Detailed description of the job.
|
JobSummary.Builder |
displayName(String displayName)
A user-friendly display name.
|
JobSummary.Builder |
errorCode(String errorCode)
Error code returned from the latest job execution for this job.
|
JobSummary.Builder |
errorMessage(String errorMessage)
Error message returned from the latest job execution for this job.
|
JobSummary.Builder |
executionCount(Integer executionCount)
The total number of executions for this job schedule.
|
JobSummary.Builder |
executions(List<JobExecutionSummary> executions)
Array of the executions summary associated with this job.
|
JobSummary.Builder |
glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies.
|
JobSummary.Builder |
jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition resource that defined the scope of this job.
|
JobSummary.Builder |
jobDefinitionName(String jobDefinitionName)
The display name of the job definition resource that defined the scope of this job.
|
JobSummary.Builder |
jobType(JobType jobType)
Type of the job.
|
JobSummary.Builder |
key(String key)
Unique key of the job.
|
JobSummary.Builder |
lifecycleState(JobLifecycleState lifecycleState)
Lifecycle state of the job, such as running, paused, or completed.
|
JobSummary.Builder |
scheduleCronExpression(String scheduleCronExpression)
Interval on which the job will be run.
|
JobSummary.Builder |
scheduleType(String scheduleType)
Type of job schedule that is inferred from the scheduling properties.
|
JobSummary.Builder |
timeCreated(Date timeCreated)
The date and time the job was created, in the format defined by
RFC3339.
|
JobSummary.Builder |
timeOfLatestExecution(Date timeOfLatestExecution)
The date and time of the most recent execution for this job, in the format defined by
RFC3339.
|
JobSummary.Builder |
timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational.
|
JobSummary.Builder |
timeUpdated(Date timeUpdated)
Time that this job was last updated.
|
JobSummary.Builder |
updatedById(String updatedById)
OCID of the user who updated this job.
|
JobSummary.Builder |
uri(String uri)
URI to the job instance in the API.
|
public JobSummary.Builder key(String key)
Unique key of the job.
key
- the value to setpublic JobSummary.Builder uri(String uri)
URI to the job instance in the API.
uri
- the value to setpublic JobSummary.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic JobSummary.Builder catalogId(String catalogId)
The data catalog’s OCID.
catalogId
- the value to setpublic JobSummary.Builder jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition resource that defined the scope of this job.
jobDefinitionKey
- the value to setpublic JobSummary.Builder lifecycleState(JobLifecycleState lifecycleState)
Lifecycle state of the job, such as running, paused, or completed.
lifecycleState
- the value to setpublic JobSummary.Builder jobType(JobType jobType)
Type of the job.
jobType
- the value to setpublic JobSummary.Builder scheduleType(String scheduleType)
Type of job schedule that is inferred from the scheduling properties.
scheduleType
- the value to setpublic JobSummary.Builder description(String description)
Detailed description of the job.
description
- the value to setpublic JobSummary.Builder timeCreated(Date timeCreated)
The date and time the job was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic JobSummary.Builder timeUpdated(Date timeUpdated)
Time that this job was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic JobSummary.Builder createdById(String createdById)
OCID of the user who created this job.
createdById
- the value to setpublic JobSummary.Builder updatedById(String updatedById)
OCID of the user who updated this job.
updatedById
- the value to setpublic JobSummary.Builder scheduleCronExpression(String scheduleCronExpression)
Interval on which the job will be run. Value is specified as a cron-supported time specification “nickname”. The following subset of those is supported: @monthly, @weekly, @daily, @hourly. For metastore sync, an additional option @default is supported, which will schedule jobs at a more granular frequency.
scheduleCronExpression
- the value to setpublic JobSummary.Builder timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational. An RFC3339 formatted datetime string.
timeScheduleBegin
- the value to setpublic JobSummary.Builder executionCount(Integer executionCount)
The total number of executions for this job schedule.
executionCount
- the value to setpublic JobSummary.Builder timeOfLatestExecution(Date timeOfLatestExecution)
The date and time of the most recent execution for this job, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeOfLatestExecution
- the value to setpublic JobSummary.Builder jobDefinitionName(String jobDefinitionName)
The display name of the job definition resource that defined the scope of this job.
jobDefinitionName
- the value to setpublic JobSummary.Builder dataAssetKey(String dataAssetKey)
Unique key of the data asset to which this job applies, if the job involves a data asset.
dataAssetKey
- the value to setpublic JobSummary.Builder glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies.
glossaryKey
- the value to setpublic JobSummary.Builder errorCode(String errorCode)
Error code returned from the latest job execution for this job. Useful when the latest Job execution is in FAILED state.
errorCode
- the value to setpublic JobSummary.Builder errorMessage(String errorMessage)
Error message returned from the latest job execution for this job. Useful when the latest Job Execution is in a FAILED state.
errorMessage
- the value to setpublic JobSummary.Builder executions(List<JobExecutionSummary> executions)
Array of the executions summary associated with this job.
executions
- the value to setpublic JobSummary build()
public JobSummary.Builder copy(JobSummary model)
Copyright © 2016–2024. All rights reserved.