Class JobExecution.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.JobExecution.Builder
 
- 
- Enclosing class:
- JobExecution
 
 public static class JobExecution.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JobExecutionbuild()JobExecution.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the parent job resides.JobExecution.Buildercopy(JobExecution model)JobExecution.BuilderdatabaseSubType(DatabaseSubType databaseSubType)The subtype of the Oracle Database.JobExecution.BuilderdatabaseType(DatabaseType databaseType)The type of Oracle Database installation.JobExecution.BuilderdeploymentType(DeploymentType deploymentType)A list of the supported infrastructure that can be used to deploy the database.JobExecution.BuildererrorMessage(String errorMessage)The error message that is returned if the job execution fails.JobExecution.Builderid(String id)The identifier of the job execution.JobExecution.BuilderinBinds(JobInBindsDetails inBinds)JobExecution.BuilderisCluster(Boolean isCluster)Indicates whether the Oracle Database is part of a cluster.JobExecution.BuilderjobId(String jobId)The OCID of the parent job.JobExecution.BuilderjobName(String jobName)The name of the parent job.JobExecution.BuilderjobRunId(String jobRunId)The identifier of the associated job run.JobExecution.BuildermanagedDatabaseGroupId(String managedDatabaseGroupId)The OCID of the Managed Database Group where the parent job has to be executed.JobExecution.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database associated with the job execution.JobExecution.BuildermanagedDatabaseName(String managedDatabaseName)The name of the Managed Database associated with the job execution.JobExecution.Buildername(String name)The name of the job execution.JobExecution.BuilderoutBinds(JobOutBindsDetails outBinds)JobExecution.BuilderresultDetails(JobExecutionResultDetails resultDetails)JobExecution.BuilderscheduleDetails(JobScheduleDetails scheduleDetails)JobExecution.BuildersqlText(String sqlText)The SQL text executed as part of the job.JobExecution.Builderstatus(JobExecution.Status status)The status of the job execution.JobExecution.BuildertimeCompleted(Date timeCompleted)The date and time when the job execution completed.JobExecution.BuildertimeCreated(Date timeCreated)The date and time when the job execution was created.JobExecution.BuilderuserName(String userName)The database user name used to execute the SQL job.JobExecution.BuilderworkloadType(WorkloadType workloadType)The workload type of the Autonomous Database.
 
- 
- 
- 
Method Detail- 
idpublic JobExecution.Builder id(String id) The identifier of the job execution.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic JobExecution.Builder name(String name) The name of the job execution.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic JobExecution.Builder compartmentId(String compartmentId) The OCID of the compartment in which the parent job resides.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
managedDatabaseGroupIdpublic JobExecution.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
 
 - 
managedDatabaseIdpublic JobExecution.Builder managedDatabaseId(String managedDatabaseId) The OCID of the Managed Database associated with the job execution.- Parameters:
- managedDatabaseId- the value to set
- Returns:
- this builder
 
 - 
managedDatabaseNamepublic JobExecution.Builder managedDatabaseName(String managedDatabaseName) The name of the Managed Database associated with the job execution.- Parameters:
- managedDatabaseName- the value to set
- Returns:
- this builder
 
 - 
databaseTypepublic JobExecution.Builder databaseType(DatabaseType databaseType) The type of Oracle Database installation.- Parameters:
- databaseType- the value to set
- Returns:
- this builder
 
 - 
databaseSubTypepublic JobExecution.Builder databaseSubType(DatabaseSubType databaseSubType) The subtype of the Oracle Database.Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. - Parameters:
- databaseSubType- the value to set
- Returns:
- this builder
 
 - 
deploymentTypepublic JobExecution.Builder deploymentType(DeploymentType deploymentType) A list of the supported infrastructure that can be used to deploy the database.- Parameters:
- deploymentType- the value to set
- Returns:
- this builder
 
 - 
isClusterpublic JobExecution.Builder isCluster(Boolean isCluster) Indicates whether the Oracle Database is part of a cluster.- Parameters:
- isCluster- the value to set
- Returns:
- this builder
 
 - 
workloadTypepublic JobExecution.Builder workloadType(WorkloadType workloadType) The workload type of the Autonomous Database.- Parameters:
- workloadType- the value to set
- Returns:
- this builder
 
 - 
jobIdpublic JobExecution.Builder jobId(String jobId) The OCID of the parent job.- Parameters:
- jobId- the value to set
- Returns:
- this builder
 
 - 
jobNamepublic JobExecution.Builder jobName(String jobName) The name of the parent job.- Parameters:
- jobName- the value to set
- Returns:
- this builder
 
 - 
jobRunIdpublic JobExecution.Builder jobRunId(String jobRunId) The identifier of the associated job run.- Parameters:
- jobRunId- the value to set
- Returns:
- this builder
 
 - 
statuspublic JobExecution.Builder status(JobExecution.Status status) The status of the job execution.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic JobExecution.Builder errorMessage(String errorMessage) The error message that is returned if the job execution fails.Null is returned if the job is still running or if the job execution is successful. - Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
resultDetailspublic JobExecution.Builder resultDetails(JobExecutionResultDetails resultDetails) 
 - 
timeCreatedpublic JobExecution.Builder timeCreated(Date timeCreated) The date and time when the job execution was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeCompletedpublic JobExecution.Builder timeCompleted(Date timeCompleted) The date and time when the job execution completed.- Parameters:
- timeCompleted- the value to set
- Returns:
- this builder
 
 - 
userNamepublic JobExecution.Builder userName(String userName) The database user name used to execute the SQL job.- Parameters:
- userName- the value to set
- Returns:
- this builder
 
 - 
sqlTextpublic JobExecution.Builder sqlText(String sqlText) The SQL text executed as part of the job.- Parameters:
- sqlText- the value to set
- Returns:
- this builder
 
 - 
inBindspublic JobExecution.Builder inBinds(JobInBindsDetails inBinds) 
 - 
outBindspublic JobExecution.Builder outBinds(JobOutBindsDetails outBinds) 
 - 
scheduleDetailspublic JobExecution.Builder scheduleDetails(JobScheduleDetails scheduleDetails) 
 - 
buildpublic JobExecution build() 
 - 
copypublic JobExecution.Builder copy(JobExecution model) 
 
- 
 
-