Package com.oracle.bmc.datacatalog.model
Class JobDefinitionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.JobDefinitionSummary.Builder
-
- Enclosing class:
- JobDefinitionSummary
public static class JobDefinitionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
key
public JobDefinitionSummary.Builder key(String key)
Unique key of the job definition resource that is immutable.- Parameters:
key
- the value to set- Returns:
- this builder
-
displayName
public JobDefinitionSummary.Builder displayName(String displayName)
A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public JobDefinitionSummary.Builder description(String description)
Detailed description of the job definition.- Parameters:
description
- the value to set- Returns:
- this builder
-
catalogId
public JobDefinitionSummary.Builder catalogId(String catalogId)
The data catalog’s OCID.- Parameters:
catalogId
- the value to set- Returns:
- this builder
-
uri
public JobDefinitionSummary.Builder uri(String uri)
URI to the job definition instance in the API.- Parameters:
uri
- the value to set- Returns:
- this builder
-
jobType
public JobDefinitionSummary.Builder jobType(JobType jobType)
Type of the job definition.- Parameters:
jobType
- the value to set- Returns:
- this builder
-
lifecycleState
public JobDefinitionSummary.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the job definition.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
isSampleDataExtracted
public JobDefinitionSummary.Builder isSampleDataExtracted(Boolean isSampleDataExtracted)
Specify if sample data to be extracted as part of this harvest.- Parameters:
isSampleDataExtracted
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
connectionKey
public JobDefinitionSummary.Builder connectionKey(String connectionKey)
The key of the connection resource used in harvest, sampling, profiling jobs.- Parameters:
connectionKey
- the value to set- Returns:
- this builder
-
timeLatestExecutionStarted
public JobDefinitionSummary.Builder timeLatestExecutionStarted(Date timeLatestExecutionStarted)
Time that the latest job execution started.An RFC3339 formatted datetime string.
- Parameters:
timeLatestExecutionStarted
- the value to set- Returns:
- this builder
-
timeLatestExecutionEnded
public 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.
- Parameters:
timeLatestExecutionEnded
- the value to set- Returns:
- this builder
-
jobExecutionState
public JobDefinitionSummary.Builder jobExecutionState(JobExecutionState jobExecutionState)
Status of the latest job execution, such as running, paused, or completed.- Parameters:
jobExecutionState
- the value to set- Returns:
- this builder
-
scheduleType
public JobDefinitionSummary.Builder scheduleType(JobScheduleType scheduleType)
Type of job schedule for the latest job executed.- Parameters:
scheduleType
- the value to set- Returns:
- this builder
-
dataAssetKey
public JobDefinitionSummary.Builder dataAssetKey(String dataAssetKey)
Unique key of the data asset to which this job applies, if the job involves a data asset.- Parameters:
dataAssetKey
- the value to set- Returns:
- this builder
-
glossaryKey
public JobDefinitionSummary.Builder glossaryKey(String glossaryKey)
Unique key of the glossary to which this job applies, if the job involves a glossary.- Parameters:
glossaryKey
- the value to set- Returns:
- this builder
-
build
public JobDefinitionSummary build()
-
copy
public JobDefinitionSummary.Builder copy(JobDefinitionSummary model)
-
-