Class JobExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.JobExecutionSummary.Builder
-
- Enclosing class:
- JobExecutionSummary
public static class JobExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobExecutionSummary
build()
JobExecutionSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the parent job resides.JobExecutionSummary.Builder
copy(JobExecutionSummary model)
JobExecutionSummary.Builder
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.JobExecutionSummary.Builder
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.JobExecutionSummary.Builder
deploymentType(DeploymentType deploymentType)
A list of the supported infrastructure that can be used to deploy the database.JobExecutionSummary.Builder
id(String id)
The identifier of the job execution.JobExecutionSummary.Builder
isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.JobExecutionSummary.Builder
jobId(String jobId)
The OCID of the parent job.JobExecutionSummary.Builder
jobName(String jobName)
The name of the parent job.JobExecutionSummary.Builder
managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group where the parent job has to be executed.JobExecutionSummary.Builder
managedDatabaseId(String managedDatabaseId)
The OCID of Managed Database associated with the job execution.JobExecutionSummary.Builder
managedDatabaseName(String managedDatabaseName)
The name of the Managed Database associated with the job execution.JobExecutionSummary.Builder
name(String name)
The name of the job execution.JobExecutionSummary.Builder
status(JobExecution.Status status)
The status of the job execution.JobExecutionSummary.Builder
timeCompleted(Date timeCompleted)
The date and time when the job execution was completed.JobExecutionSummary.Builder
timeCreated(Date timeCreated)
The date and time when the job execution was created.JobExecutionSummary.Builder
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
-
-
-
Method Detail
-
id
public JobExecutionSummary.Builder id(String id)
The identifier of the job execution.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public JobExecutionSummary.Builder name(String name)
The name of the job execution.- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public JobExecutionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the parent job resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
managedDatabaseGroupId
public JobExecutionSummary.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 JobExecutionSummary.Builder managedDatabaseId(String managedDatabaseId)
The OCID of Managed Database associated with the job execution.- Parameters:
managedDatabaseId
- the value to set- Returns:
- this builder
-
managedDatabaseName
public JobExecutionSummary.Builder managedDatabaseName(String managedDatabaseName)
The name of the Managed Database associated with the job execution.- Parameters:
managedDatabaseName
- the value to set- Returns:
- this builder
-
databaseType
public JobExecutionSummary.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.- Parameters:
databaseType
- the value to set- Returns:
- this builder
-
databaseSubType
public JobExecutionSummary.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
-
deploymentType
public JobExecutionSummary.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
-
isCluster
public JobExecutionSummary.Builder isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.- Parameters:
isCluster
- the value to set- Returns:
- this builder
-
workloadType
public JobExecutionSummary.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.- Parameters:
workloadType
- the value to set- Returns:
- this builder
-
jobId
public JobExecutionSummary.Builder jobId(String jobId)
The OCID of the parent job.- Parameters:
jobId
- the value to set- Returns:
- this builder
-
jobName
public JobExecutionSummary.Builder jobName(String jobName)
The name of the parent job.- Parameters:
jobName
- the value to set- Returns:
- this builder
-
status
public JobExecutionSummary.Builder status(JobExecution.Status status)
The status of the job execution.- Parameters:
status
- the value to set- Returns:
- this builder
-
timeCreated
public JobExecutionSummary.Builder timeCreated(Date timeCreated)
The date and time when the job execution was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeCompleted
public JobExecutionSummary.Builder timeCompleted(Date timeCompleted)
The date and time when the job execution was completed.- Parameters:
timeCompleted
- the value to set- Returns:
- this builder
-
build
public JobExecutionSummary build()
-
copy
public JobExecutionSummary.Builder copy(JobExecutionSummary model)
-
-