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 JobRunSummary
build()
JobRunSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the parent job resides.JobRunSummary.Builder
copy(JobRunSummary model)
JobRunSummary.Builder
id(String id)
The identifier of the job run.JobRunSummary.Builder
jobId(String jobId)
The OCID of the parent job.JobRunSummary.Builder
jobName(String jobName)
The name of the parent job.JobRunSummary.Builder
managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group where the parent job has to be executed.JobRunSummary.Builder
managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database where the parent job has to be executed.JobRunSummary.Builder
name(String name)
The name of the job run.JobRunSummary.Builder
runStatus(JobRun.RunStatus runStatus)
The status of the job run.JobRunSummary.Builder
timeSubmitted(Date timeSubmitted)
The date and time when the job run was submitted.JobRunSummary.Builder
timeUpdated(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)
-
-