Class ChildDatabase.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ChildDatabase.Builder
-
- Enclosing class:
- ChildDatabase
public static class ChildDatabase.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildDatabase
build()
ChildDatabase.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the Managed Database resides.ChildDatabase.Builder
copy(ChildDatabase model)
ChildDatabase.Builder
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.ChildDatabase.Builder
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.ChildDatabase.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ChildDatabase.Builder
deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.ChildDatabase.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ChildDatabase.Builder
id(String id)
The OCID of the Managed Database.ChildDatabase.Builder
name(String name)
The name of the Managed Database.ChildDatabase.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ChildDatabase.Builder
timeAdded(Date timeAdded)
The date and time the Managed Database was added to the group.ChildDatabase.Builder
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
-
-
-
Method Detail
-
id
public ChildDatabase.Builder id(String id)
The OCID of the Managed Database.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public ChildDatabase.Builder name(String name)
The name of the Managed Database.- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public ChildDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the Managed Database resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
deploymentType
public ChildDatabase.Builder deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.- Parameters:
deploymentType
- the value to set- Returns:
- this builder
-
workloadType
public ChildDatabase.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.- Parameters:
workloadType
- the value to set- Returns:
- this builder
-
databaseType
public ChildDatabase.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.- Parameters:
databaseType
- the value to set- Returns:
- this builder
-
databaseSubType
public ChildDatabase.Builder databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- Parameters:
databaseSubType
- the value to set- Returns:
- this builder
-
timeAdded
public ChildDatabase.Builder timeAdded(Date timeAdded)
The date and time the Managed Database was added to the group.- Parameters:
timeAdded
- the value to set- Returns:
- this builder
-
freeformTags
public ChildDatabase.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ChildDatabase.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public ChildDatabase.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ChildDatabase build()
-
copy
public ChildDatabase.Builder copy(ChildDatabase model)
-
-