Class JobDatabase.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.JobDatabase.Builder
-
- Enclosing class:
- JobDatabase
public static class JobDatabase.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDatabase
build()
JobDatabase.Builder
copy(JobDatabase model)
JobDatabase.Builder
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.JobDatabase.Builder
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.JobDatabase.Builder
deploymentType(DeploymentType deploymentType)
A list of the supported infrastructure that can be used to deploy the database.JobDatabase.Builder
id(String id)
The OCID of the Managed Database.JobDatabase.Builder
isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.JobDatabase.Builder
name(String name)
The name of the Managed Database.JobDatabase.Builder
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
-
-
-
Method Detail
-
id
public JobDatabase.Builder id(String id)
The OCID of the Managed Database.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public JobDatabase.Builder name(String name)
The name of the Managed Database.- Parameters:
name
- the value to set- Returns:
- this builder
-
databaseType
public JobDatabase.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.- Parameters:
databaseType
- the value to set- Returns:
- this builder
-
databaseSubType
public JobDatabase.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 JobDatabase.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 JobDatabase.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 JobDatabase.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.- Parameters:
workloadType
- the value to set- Returns:
- this builder
-
build
public JobDatabase build()
-
copy
public JobDatabase.Builder copy(JobDatabase model)
-
-