public static class JobExecution.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobExecution |
build() |
JobExecution.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the parent job resides.
|
JobExecution.Builder |
copy(JobExecution model) |
JobExecution.Builder |
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.
|
JobExecution.Builder |
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
|
JobExecution.Builder |
deploymentType(DeploymentType deploymentType)
A list of the supported infrastructure that can be used to deploy the database.
|
JobExecution.Builder |
errorMessage(String errorMessage)
The error message that is returned if the job execution fails.
|
JobExecution.Builder |
id(String id)
The identifier of the job execution.
|
JobExecution.Builder |
inBinds(JobInBindsDetails inBinds) |
JobExecution.Builder |
isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.
|
JobExecution.Builder |
jobId(String jobId)
The OCID of the
parent job.
|
JobExecution.Builder |
jobName(String jobName)
The name of the parent job.
|
JobExecution.Builder |
jobRunId(String jobRunId)
The identifier of the associated job run.
|
JobExecution.Builder |
managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the
Managed Database Group where the parent job has to be executed.
|
JobExecution.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the
Managed Database associated with the job execution.
|
JobExecution.Builder |
managedDatabaseName(String managedDatabaseName)
The name of the Managed Database associated with the job execution.
|
JobExecution.Builder |
name(String name)
The name of the job execution.
|
JobExecution.Builder |
outBinds(JobOutBindsDetails outBinds) |
JobExecution.Builder |
resultDetails(JobExecutionResultDetails resultDetails) |
JobExecution.Builder |
scheduleDetails(JobScheduleDetails scheduleDetails) |
JobExecution.Builder |
sqlText(String sqlText)
The SQL text executed as part of the job.
|
JobExecution.Builder |
status(JobExecution.Status status)
The status of the job execution.
|
JobExecution.Builder |
timeCompleted(Date timeCompleted)
The date and time when the job execution completed.
|
JobExecution.Builder |
timeCreated(Date timeCreated)
The date and time when the job execution was created.
|
JobExecution.Builder |
userName(String userName)
The database user name used to execute the SQL job.
|
JobExecution.Builder |
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
|
public JobExecution.Builder id(String id)
The identifier of the job execution.
id
- the value to setpublic JobExecution.Builder name(String name)
The name of the job execution.
name
- the value to setpublic JobExecution.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the parent job resides.
compartmentId
- the value to setpublic JobExecution.Builder managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group where the parent job has to be executed.
managedDatabaseGroupId
- the value to setpublic JobExecution.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database associated with the job execution.
managedDatabaseId
- the value to setpublic JobExecution.Builder managedDatabaseName(String managedDatabaseName)
The name of the Managed Database associated with the job execution.
managedDatabaseName
- the value to setpublic JobExecution.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
databaseType
- the value to setpublic 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.
databaseSubType
- the value to setpublic JobExecution.Builder deploymentType(DeploymentType deploymentType)
A list of the supported infrastructure that can be used to deploy the database.
deploymentType
- the value to setpublic JobExecution.Builder isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.
isCluster
- the value to setpublic JobExecution.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
workloadType
- the value to setpublic JobExecution.Builder jobId(String jobId)
The OCID of the parent job.
jobId
- the value to setpublic JobExecution.Builder jobName(String jobName)
The name of the parent job.
jobName
- the value to setpublic JobExecution.Builder jobRunId(String jobRunId)
The identifier of the associated job run.
jobRunId
- the value to setpublic JobExecution.Builder status(JobExecution.Status status)
The status of the job execution.
status
- the value to setpublic 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.
errorMessage
- the value to setpublic JobExecution.Builder resultDetails(JobExecutionResultDetails resultDetails)
public JobExecution.Builder timeCreated(Date timeCreated)
The date and time when the job execution was created.
timeCreated
- the value to setpublic JobExecution.Builder timeCompleted(Date timeCompleted)
The date and time when the job execution completed.
timeCompleted
- the value to setpublic JobExecution.Builder userName(String userName)
The database user name used to execute the SQL job.
userName
- the value to setpublic JobExecution.Builder sqlText(String sqlText)
The SQL text executed as part of the job.
sqlText
- the value to setpublic JobExecution.Builder inBinds(JobInBindsDetails inBinds)
public JobExecution.Builder outBinds(JobOutBindsDetails outBinds)
public JobExecution.Builder scheduleDetails(JobScheduleDetails scheduleDetails)
public JobExecution build()
public JobExecution.Builder copy(JobExecution model)
Copyright © 2016–2024. All rights reserved.