Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Job |
build() |
Job.Builder |
catalogId(String catalogId)
The data catalog’s OCID.
|
Job.Builder |
connectionKey(String connectionKey)
The key of the connection used by the job.
|
Job.Builder |
copy(Job model) |
Job.Builder |
createdById(String createdById)
OCID of the user who created this job.
|
Job.Builder |
dataAssetKey(String dataAssetKey)
Unique key of the data asset to which this job applies, if the job involves a data asset.
|
Job.Builder |
description(String description)
Detailed description of the job.
|
Job.Builder |
displayName(String displayName)
A user-friendly display name.
|
Job.Builder |
errorCode(String errorCode)
Error code returned from the latest job execution for this job.
|
Job.Builder |
errorMessage(String errorMessage)
Error message returned from the latest job execution for this job.
|
Job.Builder |
executionCount(Integer executionCount)
The total number of executions for this job schedule.
|
Job.Builder |
glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies.
|
Job.Builder |
internalVersion(String internalVersion)
Internal version of the job resource.
|
Job.Builder |
jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition resource that defined the scope of this job.
|
Job.Builder |
jobDefinitionName(String jobDefinitionName)
The display name of the job definition resource that defined the scope of this job.
|
Job.Builder |
jobType(JobType jobType)
Type of the job.
|
Job.Builder |
key(String key)
Unique key of the job resource.
|
Job.Builder |
lifecycleState(JobLifecycleState lifecycleState)
Lifecycle state for job.
|
Job.Builder |
scheduleCronExpression(String scheduleCronExpression)
Interval on which the job will be run.
|
Job.Builder |
scheduleType(JobScheduleType scheduleType)
Type of job schedule that is inferred from the scheduling properties.
|
Job.Builder |
timeCreated(Date timeCreated)
The date and time the job was created, in the format defined by
RFC3339.
|
Job.Builder |
timeOfLatestExecution(Date timeOfLatestExecution)
The date and time of the most recent execution for this Job, in the format defined by
RFC3339.
|
Job.Builder |
timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational.
|
Job.Builder |
timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational.
|
Job.Builder |
timeUpdated(Date timeUpdated)
Time that this job was last updated.
|
Job.Builder |
updatedById(String updatedById)
OCID of the user who updated this job.
|
Job.Builder |
uri(String uri)
URI to the job instance in the API.
|
public Job.Builder key(String key)
Unique key of the job resource.
key
- the value to setpublic Job.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 Job.Builder description(String description)
Detailed description of the job.
description
- the value to setpublic Job.Builder catalogId(String catalogId)
The data catalog’s OCID.
catalogId
- the value to setpublic Job.Builder lifecycleState(JobLifecycleState lifecycleState)
Lifecycle state for job.
lifecycleState
- the value to setpublic Job.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 Job.Builder timeUpdated(Date timeUpdated)
Time that this job was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Job.Builder jobType(JobType jobType)
Type of the job.
jobType
- the value to setpublic Job.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 Job.Builder timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational. An RFC3339 formatted datetime string.
timeScheduleBegin
- the value to setpublic Job.Builder timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational. An RFC3339 formatted datetime string.
timeScheduleEnd
- the value to setpublic Job.Builder scheduleType(JobScheduleType scheduleType)
Type of job schedule that is inferred from the scheduling properties.
scheduleType
- the value to setpublic Job.Builder connectionKey(String connectionKey)
The key of the connection used by the job. This connection will override the default connection specified in the associated job definition. All executions will use this connection.
connectionKey
- the value to setpublic Job.Builder jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition resource that defined the scope of this job.
jobDefinitionKey
- the value to setpublic Job.Builder internalVersion(String internalVersion)
Internal version of the job resource.
internalVersion
- the value to setpublic Job.Builder executionCount(Integer executionCount)
The total number of executions for this job schedule.
executionCount
- the value to setpublic Job.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 Job.Builder createdById(String createdById)
OCID of the user who created this job.
createdById
- the value to setpublic Job.Builder updatedById(String updatedById)
OCID of the user who updated this job.
updatedById
- the value to setpublic Job.Builder jobDefinitionName(String jobDefinitionName)
The display name of the job definition resource that defined the scope of this job.
jobDefinitionName
- the value to setpublic Job.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 Job.Builder glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies.
glossaryKey
- the value to setpublic Job.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 Job.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 Job.Builder uri(String uri)
URI to the job instance in the API.
uri
- the value to setpublic Job build()
public Job.Builder copy(Job model)
Copyright © 2016–2024. All rights reserved.