Class JobRunSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.JobRunSummary.Builder
-
- Enclosing class:
- JobRunSummary
public static class JobRunSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRunSummarybuild()JobRunSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the parent job resides.JobRunSummary.Buildercopy(JobRunSummary model)JobRunSummary.Builderid(String id)The identifier of the job run.JobRunSummary.BuilderjobId(String jobId)The OCID of the parent job.JobRunSummary.BuilderjobName(String jobName)The name of the parent job.JobRunSummary.BuildermanagedDatabaseGroupId(String managedDatabaseGroupId)The OCID of the Managed Database Group where the parent job has to be executed.JobRunSummary.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database where the parent job has to be executed.JobRunSummary.Buildername(String name)The name of the job run.JobRunSummary.BuilderrunStatus(JobRun.RunStatus runStatus)The status of the job run.JobRunSummary.BuildertimeSubmitted(Date timeSubmitted)The date and time when the job run was submitted.JobRunSummary.BuildertimeUpdated(Date timeUpdated)The date and time when the job run was last updated.
-
-
-
Method Detail
-
id
public JobRunSummary.Builder id(String id)
The identifier of the job run.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public JobRunSummary.Builder name(String name)
The name of the job run.- Parameters:
name- the value to set- Returns:
- this builder
-
compartmentId
public JobRunSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the parent job resides.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
jobId
public JobRunSummary.Builder jobId(String jobId)
The OCID of the parent job.- Parameters:
jobId- the value to set- Returns:
- this builder
-
jobName
public JobRunSummary.Builder jobName(String jobName)
The name of the parent job.- Parameters:
jobName- the value to set- Returns:
- this builder
-
managedDatabaseGroupId
public JobRunSummary.Builder managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group where the parent job has to be executed.- Parameters:
managedDatabaseGroupId- the value to set- Returns:
- this builder
-
managedDatabaseId
public JobRunSummary.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database where the parent job has to be executed.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder
-
runStatus
public JobRunSummary.Builder runStatus(JobRun.RunStatus runStatus)
The status of the job run.- Parameters:
runStatus- the value to set- Returns:
- this builder
-
timeSubmitted
public JobRunSummary.Builder timeSubmitted(Date timeSubmitted)
The date and time when the job run was submitted.- Parameters:
timeSubmitted- the value to set- Returns:
- this builder
-
timeUpdated
public JobRunSummary.Builder timeUpdated(Date timeUpdated)
The date and time when the job run was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public JobRunSummary build()
-
copy
public JobRunSummary.Builder copy(JobRunSummary model)
-
-