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