public static class JobDefinitionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobDefinitionSummary |
build() |
JobDefinitionSummary.Builder |
catalogId(String catalogId)
The data catalog’s OCID.
|
JobDefinitionSummary.Builder |
connectionKey(String connectionKey)
The key of the connection resource used in harvest, sampling, profiling jobs.
|
JobDefinitionSummary.Builder |
copy(JobDefinitionSummary model) |
JobDefinitionSummary.Builder |
dataAssetKey(String dataAssetKey)
Unique key of the data asset to which this job applies, if the job involves a data asset.
|
JobDefinitionSummary.Builder |
description(String description)
Detailed description of the job definition.
|
JobDefinitionSummary.Builder |
displayName(String displayName)
A user-friendly display name.
|
JobDefinitionSummary.Builder |
glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies, if the job involves a glossary.
|
JobDefinitionSummary.Builder |
isSampleDataExtracted(Boolean isSampleDataExtracted)
Specify if sample data to be extracted as part of this harvest.
|
JobDefinitionSummary.Builder |
jobExecutionState(JobExecutionState jobExecutionState)
Status of the latest job execution, such as running, paused, or completed.
|
JobDefinitionSummary.Builder |
jobType(JobType jobType)
Type of the job definition.
|
JobDefinitionSummary.Builder |
key(String key)
Unique key of the job definition resource that is immutable.
|
JobDefinitionSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the job definition.
|
JobDefinitionSummary.Builder |
scheduleType(JobScheduleType scheduleType)
Type of job schedule for the latest job executed.
|
JobDefinitionSummary.Builder |
timeCreated(Date timeCreated)
The date and time the job definition was created, in the format defined by
RFC3339.
|
JobDefinitionSummary.Builder |
timeLatestExecutionEnded(Date timeLatestExecutionEnded)
Time that the latest job execution ended or null if it hasn’t yet completed.
|
JobDefinitionSummary.Builder |
timeLatestExecutionStarted(Date timeLatestExecutionStarted)
Time that the latest job execution started.
|
JobDefinitionSummary.Builder |
uri(String uri)
URI to the job definition instance in the API.
|
public JobDefinitionSummary.Builder key(String key)
Unique key of the job definition resource that is immutable.
key
- the value to setpublic JobDefinitionSummary.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 JobDefinitionSummary.Builder description(String description)
Detailed description of the job definition.
description
- the value to setpublic JobDefinitionSummary.Builder catalogId(String catalogId)
The data catalog’s OCID.
catalogId
- the value to setpublic JobDefinitionSummary.Builder uri(String uri)
URI to the job definition instance in the API.
uri
- the value to setpublic JobDefinitionSummary.Builder jobType(JobType jobType)
Type of the job definition.
jobType
- the value to setpublic JobDefinitionSummary.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the job definition.
lifecycleState
- the value to setpublic JobDefinitionSummary.Builder isSampleDataExtracted(Boolean isSampleDataExtracted)
Specify if sample data to be extracted as part of this harvest.
isSampleDataExtracted
- the value to setpublic JobDefinitionSummary.Builder timeCreated(Date timeCreated)
The date and time the job definition was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic JobDefinitionSummary.Builder connectionKey(String connectionKey)
The key of the connection resource used in harvest, sampling, profiling jobs.
connectionKey
- the value to setpublic JobDefinitionSummary.Builder timeLatestExecutionStarted(Date timeLatestExecutionStarted)
Time that the latest job execution started. An RFC3339 formatted datetime string.
timeLatestExecutionStarted
- the value to setpublic JobDefinitionSummary.Builder timeLatestExecutionEnded(Date timeLatestExecutionEnded)
Time that the latest job execution ended or null if it hasn’t yet completed. An RFC3339 formatted datetime string.
timeLatestExecutionEnded
- the value to setpublic JobDefinitionSummary.Builder jobExecutionState(JobExecutionState jobExecutionState)
Status of the latest job execution, such as running, paused, or completed.
jobExecutionState
- the value to setpublic JobDefinitionSummary.Builder scheduleType(JobScheduleType scheduleType)
Type of job schedule for the latest job executed.
scheduleType
- the value to setpublic JobDefinitionSummary.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 JobDefinitionSummary.Builder glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies, if the job involves a glossary.
glossaryKey
- the value to setpublic JobDefinitionSummary build()
public JobDefinitionSummary.Builder copy(JobDefinitionSummary model)
Copyright © 2016–2024. All rights reserved.