public static class ManagedDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagedDatabase.Builder |
additionalDetails(Map<String,String> additionalDetails)
The additional details specific to a type of database defined in
{"key": "value"}
format. |
ManagedDatabase |
build() |
ManagedDatabase.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ManagedDatabase.Builder |
copy(ManagedDatabase model) |
ManagedDatabase.Builder |
databasePlatformName(String databasePlatformName)
The operating system of database.
|
ManagedDatabase.Builder |
databaseStatus(DatabaseStatus databaseStatus)
The status of the Oracle Database.
|
ManagedDatabase.Builder |
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.
|
ManagedDatabase.Builder |
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
|
ManagedDatabase.Builder |
databaseVersion(String databaseVersion)
The Oracle Database version.
|
ManagedDatabase.Builder |
dbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs)
The list of feature configurations
|
ManagedDatabase.Builder |
dbSystemId(String dbSystemId)
The OCID of the
external DB system that this Managed Database is part of.
|
ManagedDatabase.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagedDatabase.Builder |
deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
|
ManagedDatabase.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ManagedDatabase.Builder |
id(String id)
The OCID of the
Managed Database.
|
ManagedDatabase.Builder |
instanceCount(Integer instanceCount)
The number of Oracle Real Application Clusters (Oracle RAC) database instances.
|
ManagedDatabase.Builder |
instanceDetails(List<InstanceDetails> instanceDetails)
The details of the Oracle Real Application Clusters (Oracle RAC) database instances.
|
ManagedDatabase.Builder |
isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.
|
ManagedDatabase.Builder |
managedDatabaseGroups(List<ParentGroup> managedDatabaseGroups)
A list of Managed Database Groups that the Managed Database belongs to.
|
ManagedDatabase.Builder |
managementOption(ManagementOption managementOption)
The management option used when enabling Database Management.
|
ManagedDatabase.Builder |
name(String name)
The name of the Managed Database.
|
ManagedDatabase.Builder |
parentContainerCompartmentId(String parentContainerCompartmentId)
The OCID of the
compartment in which the parent Container Database resides, if the Managed Database is a
Pluggable Database (PDB).
|
ManagedDatabase.Builder |
parentContainerId(String parentContainerId)
The OCID of the
parent Container Database if Managed Database is a Pluggable Database.
|
ManagedDatabase.Builder |
parentContainerName(String parentContainerName)
The name of the parent Container Database.
|
ManagedDatabase.Builder |
pdbCount(Integer pdbCount)
The number of PDBs in the Container Database.
|
ManagedDatabase.Builder |
pdbStatus(List<PdbStatusDetails> pdbStatus)
The status of the PDB in the Container Database.
|
ManagedDatabase.Builder |
storageSystemId(String storageSystemId)
The OCID of the
storage DB system.
|
ManagedDatabase.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ManagedDatabase.Builder |
timeCreated(Date timeCreated)
The date and time the Managed Database was created.
|
ManagedDatabase.Builder |
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
|
public ManagedDatabase.Builder id(String id)
The OCID of the Managed Database.
id
- the value to setpublic ManagedDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ManagedDatabase.Builder name(String name)
The name of the Managed Database.
name
- the value to setpublic ManagedDatabase.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
databaseType
- the value to setpublic ManagedDatabase.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.
databaseSubType
- the value to setpublic ManagedDatabase.Builder deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
deploymentType
- the value to setpublic ManagedDatabase.Builder managementOption(ManagementOption managementOption)
The management option used when enabling Database Management.
managementOption
- the value to setpublic ManagedDatabase.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
workloadType
- the value to setpublic ManagedDatabase.Builder isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.
isCluster
- the value to setpublic ManagedDatabase.Builder parentContainerId(String parentContainerId)
The OCID of the parent Container Database if Managed Database is a Pluggable Database.
parentContainerId
- the value to setpublic ManagedDatabase.Builder managedDatabaseGroups(List<ParentGroup> managedDatabaseGroups)
A list of Managed Database Groups that the Managed Database belongs to.
managedDatabaseGroups
- the value to setpublic ManagedDatabase.Builder dbSystemId(String dbSystemId)
The OCID of the external DB system that this Managed Database is part of.
dbSystemId
- the value to setpublic ManagedDatabase.Builder storageSystemId(String storageSystemId)
The OCID of the storage DB system.
storageSystemId
- the value to setpublic ManagedDatabase.Builder timeCreated(Date timeCreated)
The date and time the Managed Database was created.
timeCreated
- the value to setpublic ManagedDatabase.Builder databaseVersion(String databaseVersion)
The Oracle Database version.
databaseVersion
- the value to setpublic ManagedDatabase.Builder databaseStatus(DatabaseStatus databaseStatus)
The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
databaseStatus
- the value to setpublic ManagedDatabase.Builder parentContainerName(String parentContainerName)
The name of the parent Container Database.
parentContainerName
- the value to setpublic ManagedDatabase.Builder parentContainerCompartmentId(String parentContainerCompartmentId)
The OCID of the compartment in which the parent Container Database resides, if the Managed Database is a Pluggable Database (PDB).
parentContainerCompartmentId
- the value to setpublic ManagedDatabase.Builder instanceCount(Integer instanceCount)
The number of Oracle Real Application Clusters (Oracle RAC) database instances.
instanceCount
- the value to setpublic ManagedDatabase.Builder instanceDetails(List<InstanceDetails> instanceDetails)
The details of the Oracle Real Application Clusters (Oracle RAC) database instances.
instanceDetails
- the value to setpublic ManagedDatabase.Builder pdbCount(Integer pdbCount)
The number of PDBs in the Container Database.
pdbCount
- the value to setpublic ManagedDatabase.Builder pdbStatus(List<PdbStatusDetails> pdbStatus)
The status of the PDB in the Container Database.
pdbStatus
- the value to setpublic ManagedDatabase.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details specific to a type of database defined in {"key": "value"}
format. Example: {"bar-key": "value"}
additionalDetails
- the value to setpublic ManagedDatabase.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"}
freeformTags
- the value to setpublic ManagedDatabase.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"}}
definedTags
- the value to setpublic ManagedDatabase.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"}}
systemTags
- the value to setpublic ManagedDatabase.Builder dbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs)
The list of feature configurations
dbmgmtFeatureConfigs
- the value to setpublic ManagedDatabase.Builder databasePlatformName(String databasePlatformName)
The operating system of database.
databasePlatformName
- the value to setpublic ManagedDatabase build()
public ManagedDatabase.Builder copy(ManagedDatabase model)
Copyright © 2016–2024. All rights reserved.