Package com.oracle.bmc.datacatalog.model
Class JobDefinition.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.model.JobDefinition.Builder
 
- 
- Enclosing class:
- JobDefinition
 
 public static class JobDefinition.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDefinitionbuild()JobDefinition.BuildercatalogId(String catalogId)The data catalog’s OCID.JobDefinition.BuilderconnectionKey(String connectionKey)The key of the default connection resource to be used for harvest, sampling, profiling jobs.JobDefinition.Buildercopy(JobDefinition model)JobDefinition.BuildercreatedById(String createdById)OCID of the user who created this job definition.JobDefinition.BuilderdataAssetKey(String dataAssetKey)The key of the data asset for which the job is defined.JobDefinition.Builderdescription(String description)Detailed description of the job definition.JobDefinition.BuilderdisplayName(String displayName)A user-friendly display name.JobDefinition.BuilderglossaryKey(String glossaryKey)Unique key of the glossary to which this job applies.JobDefinition.BuilderinternalVersion(String internalVersion)Version of the job definition object.JobDefinition.BuilderisIncremental(Boolean isIncremental)Specifies if the job definition is incremental or full.JobDefinition.BuilderisSampleDataExtracted(Boolean isSampleDataExtracted)Specify if sample data to be extracted as part of this harvest.JobDefinition.BuilderjobExecutionState(JobExecutionState jobExecutionState)Status of the latest job execution, such as running, paused, or completed.JobDefinition.BuilderjobType(JobType jobType)Type of the job definition.JobDefinition.Builderkey(String key)Unique key of the job definition resource that is immutable.JobDefinition.BuilderlifecycleState(LifecycleState lifecycleState)Lifecycle state of the job definition.JobDefinition.Builderproperties(Map<String,Map<String,String>> properties)A map of maps that contains the properties which are specific to the job type.JobDefinition.BuildersampleDataSizeInMBs(Integer sampleDataSizeInMBs)Specify the sample data size in MB, specified as number of rows, for this metadata harvest.JobDefinition.BuilderscheduleType(JobScheduleType scheduleType)Type of job schedule for the latest job executed.JobDefinition.BuildertimeCreated(Date timeCreated)The date and time the job definition was created, in the format defined by RFC3339.JobDefinition.BuildertimeLatestExecutionEnded(Date timeLatestExecutionEnded)Time that the latest job execution ended or null if it hasn’t yet completed.JobDefinition.BuildertimeLatestExecutionStarted(Date timeLatestExecutionStarted)Time that the latest job execution started.JobDefinition.BuildertimeUpdated(Date timeUpdated)The last time that any change was made to the data asset.JobDefinition.BuilderupdatedById(String updatedById)OCID of the user who updated this job definition.JobDefinition.Builderuri(String uri)URI to the job definition instance in the API.
 
- 
- 
- 
Method Detail- 
keypublic JobDefinition.Builder key(String key) Unique key of the job definition resource that is immutable.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic JobDefinition.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
 
 - 
catalogIdpublic JobDefinition.Builder catalogId(String catalogId) The data catalog’s OCID.- Parameters:
- catalogId- the value to set
- Returns:
- this builder
 
 - 
jobTypepublic JobDefinition.Builder jobType(JobType jobType) Type of the job definition.- Parameters:
- jobType- the value to set
- Returns:
- this builder
 
 - 
isIncrementalpublic JobDefinition.Builder isIncremental(Boolean isIncremental) Specifies if the job definition is incremental or full.- Parameters:
- isIncremental- the value to set
- Returns:
- this builder
 
 - 
dataAssetKeypublic JobDefinition.Builder dataAssetKey(String dataAssetKey) The key of the data asset for which the job is defined.- Parameters:
- dataAssetKey- the value to set
- Returns:
- this builder
 
 - 
glossaryKeypublic JobDefinition.Builder glossaryKey(String glossaryKey) Unique key of the glossary to which this job applies.- Parameters:
- glossaryKey- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic JobDefinition.Builder description(String description) Detailed description of the job definition.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
connectionKeypublic JobDefinition.Builder connectionKey(String connectionKey) The key of the default connection resource to be used for harvest, sampling, profiling jobs.This may be overridden in each job instance. - Parameters:
- connectionKey- the value to set
- Returns:
- this builder
 
 - 
internalVersionpublic JobDefinition.Builder internalVersion(String internalVersion) Version of the job definition object.Used internally but can be visible to users. - Parameters:
- internalVersion- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic JobDefinition.Builder lifecycleState(LifecycleState lifecycleState) Lifecycle state of the job definition.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic JobDefinition.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
 
 - 
timeUpdatedpublic JobDefinition.Builder timeUpdated(Date timeUpdated) The last time that any change was made to the data asset.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
createdByIdpublic JobDefinition.Builder createdById(String createdById) OCID of the user who created this job definition.- Parameters:
- createdById- the value to set
- Returns:
- this builder
 
 - 
updatedByIdpublic JobDefinition.Builder updatedById(String updatedById) OCID of the user who updated this job definition.- Parameters:
- updatedById- the value to set
- Returns:
- this builder
 
 - 
uripublic JobDefinition.Builder uri(String uri) URI to the job definition instance in the API.- Parameters:
- uri- the value to set
- Returns:
- this builder
 
 - 
isSampleDataExtractedpublic JobDefinition.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
 
 - 
sampleDataSizeInMBspublic JobDefinition.Builder sampleDataSizeInMBs(Integer sampleDataSizeInMBs) Specify the sample data size in MB, specified as number of rows, for this metadata harvest.- Parameters:
- sampleDataSizeInMBs- the value to set
- Returns:
- this builder
 
 - 
timeLatestExecutionStartedpublic JobDefinition.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
 
 - 
timeLatestExecutionEndedpublic JobDefinition.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
 
 - 
jobExecutionStatepublic JobDefinition.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
 
 - 
scheduleTypepublic JobDefinition.Builder scheduleType(JobScheduleType scheduleType) Type of job schedule for the latest job executed.- Parameters:
- scheduleType- the value to set
- Returns:
- this builder
 
 - 
propertiespublic JobDefinition.Builder properties(Map<String,Map<String,String>> properties) A map of maps that contains the properties which are specific to the job type.Each job type definition may define it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most job definitions have required properties within the “default” category. Example: {“properties”: { “default”: { “host”: “host1”, “port”: “1521”, “database”: “orcl”}}} - Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
buildpublic JobDefinition build() 
 - 
copypublic JobDefinition.Builder copy(JobDefinition model) 
 
- 
 
-