Package com.oracle.bmc.datacatalog.model
Class JobSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.model.JobSummary.Builder
 
- 
- Enclosing class:
- JobSummary
 
 public static class JobSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JobSummarybuild()JobSummary.BuildercatalogId(String catalogId)The data catalog’s OCID.JobSummary.Buildercopy(JobSummary model)JobSummary.BuildercreatedById(String createdById)OCID of the user who created this job.JobSummary.BuilderdataAssetKey(String dataAssetKey)Unique key of the data asset to which this job applies, if the job involves a data asset.JobSummary.Builderdescription(String description)Detailed description of the job.JobSummary.BuilderdisplayName(String displayName)A user-friendly display name.JobSummary.BuildererrorCode(String errorCode)Error code returned from the latest job execution for this job.JobSummary.BuildererrorMessage(String errorMessage)Error message returned from the latest job execution for this job.JobSummary.BuilderexecutionCount(Integer executionCount)The total number of executions for this job schedule.JobSummary.Builderexecutions(List<JobExecutionSummary> executions)Array of the executions summary associated with this job.JobSummary.BuilderglossaryKey(String glossaryKey)Unique key of the glossary to which this job applies.JobSummary.BuilderjobDefinitionKey(String jobDefinitionKey)The unique key of the job definition resource that defined the scope of this job.JobSummary.BuilderjobDefinitionName(String jobDefinitionName)The display name of the job definition resource that defined the scope of this job.JobSummary.BuilderjobType(JobType jobType)Type of the job.JobSummary.Builderkey(String key)Unique key of the job.JobSummary.BuilderlifecycleState(JobLifecycleState lifecycleState)Lifecycle state of the job, such as running, paused, or completed.JobSummary.BuilderscheduleCronExpression(String scheduleCronExpression)Interval on which the job will be run.JobSummary.BuilderscheduleType(String scheduleType)Type of job schedule that is inferred from the scheduling properties.JobSummary.BuildertimeCreated(Date timeCreated)The date and time the job was created, in the format defined by RFC3339.JobSummary.BuildertimeOfLatestExecution(Date timeOfLatestExecution)The date and time of the most recent execution for this job, in the format defined by RFC3339.JobSummary.BuildertimeScheduleBegin(Date timeScheduleBegin)Date that the schedule should be operational.JobSummary.BuildertimeUpdated(Date timeUpdated)Time that this job was last updated.JobSummary.BuilderupdatedById(String updatedById)OCID of the user who updated this job.JobSummary.Builderuri(String uri)URI to the job instance in the API.
 
- 
- 
- 
Method Detail- 
keypublic JobSummary.Builder key(String key) Unique key of the job.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
uripublic JobSummary.Builder uri(String uri) URI to the job instance in the API.- Parameters:
- uri- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic JobSummary.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 JobSummary.Builder catalogId(String catalogId) The data catalog’s OCID.- Parameters:
- catalogId- the value to set
- Returns:
- this builder
 
 - 
jobDefinitionKeypublic JobSummary.Builder jobDefinitionKey(String jobDefinitionKey) The unique key of the job definition resource that defined the scope of this job.- Parameters:
- jobDefinitionKey- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic JobSummary.Builder lifecycleState(JobLifecycleState lifecycleState) Lifecycle state of the job, such as running, paused, or completed.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
jobTypepublic JobSummary.Builder jobType(JobType jobType) Type of the job.- Parameters:
- jobType- the value to set
- Returns:
- this builder
 
 - 
scheduleTypepublic JobSummary.Builder scheduleType(String scheduleType) Type of job schedule that is inferred from the scheduling properties.- Parameters:
- scheduleType- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic JobSummary.Builder description(String description) Detailed description of the job.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic JobSummary.Builder timeUpdated(Date timeUpdated) Time that this job was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
createdByIdpublic JobSummary.Builder createdById(String createdById) OCID of the user who created this job.- Parameters:
- createdById- the value to set
- Returns:
- this builder
 
 - 
updatedByIdpublic JobSummary.Builder updatedById(String updatedById) OCID of the user who updated this job.- Parameters:
- updatedById- the value to set
- Returns:
- this builder
 
 - 
scheduleCronExpressionpublic 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. - Parameters:
- scheduleCronExpression- the value to set
- Returns:
- this builder
 
 - 
timeScheduleBeginpublic JobSummary.Builder timeScheduleBegin(Date timeScheduleBegin) Date that the schedule should be operational.An RFC3339 formatted datetime string. - Parameters:
- timeScheduleBegin- the value to set
- Returns:
- this builder
 
 - 
executionCountpublic JobSummary.Builder executionCount(Integer executionCount) The total number of executions for this job schedule.- Parameters:
- executionCount- the value to set
- Returns:
- this builder
 
 - 
timeOfLatestExecutionpublic 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 - Parameters:
- timeOfLatestExecution- the value to set
- Returns:
- this builder
 
 - 
jobDefinitionNamepublic JobSummary.Builder jobDefinitionName(String jobDefinitionName) The display name of the job definition resource that defined the scope of this job.- Parameters:
- jobDefinitionName- the value to set
- Returns:
- this builder
 
 - 
dataAssetKeypublic JobSummary.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
 
 - 
glossaryKeypublic JobSummary.Builder glossaryKey(String glossaryKey) Unique key of the glossary to which this job applies.- Parameters:
- glossaryKey- the value to set
- Returns:
- this builder
 
 - 
errorCodepublic 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. - Parameters:
- errorCode- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic 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. - Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
executionspublic JobSummary.Builder executions(List<JobExecutionSummary> executions) Array of the executions summary associated with this job.- Parameters:
- executions- the value to set
- Returns:
- this builder
 
 - 
buildpublic JobSummary build() 
 - 
copypublic JobSummary.Builder copy(JobSummary model) 
 
- 
 
-