Class ManagedDatabase.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.ManagedDatabase.Builder
 
- 
- Enclosing class:
- ManagedDatabase
 
 public static class ManagedDatabase.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedDatabase.BuilderadditionalDetails(Map<String,String> additionalDetails)The additional details specific to a type of database defined in {“key”: “value”} format.ManagedDatabasebuild()ManagedDatabase.BuildercompartmentId(String compartmentId)The OCID of the compartment.ManagedDatabase.Buildercopy(ManagedDatabase model)ManagedDatabase.BuilderdatabasePlatformName(String databasePlatformName)The operating system of database.ManagedDatabase.BuilderdatabaseStatus(DatabaseStatus databaseStatus)The status of the Oracle Database.ManagedDatabase.BuilderdatabaseSubType(DatabaseSubType databaseSubType)The subtype of the Oracle Database.ManagedDatabase.BuilderdatabaseType(DatabaseType databaseType)The type of Oracle Database installation.ManagedDatabase.BuilderdatabaseVersion(String databaseVersion)The Oracle Database version.ManagedDatabase.BuilderdbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs)The list of feature configurationsManagedDatabase.BuilderdbSystemId(String dbSystemId)The OCID of the DB system that this Managed Database is part of.ManagedDatabase.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagedDatabase.BuilderdeploymentType(DeploymentType deploymentType)The infrastructure used to deploy the Oracle Database.ManagedDatabase.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ManagedDatabase.Builderid(String id)The OCID of the Managed Database.ManagedDatabase.BuilderinstanceCount(Integer instanceCount)The number of Oracle Real Application Clusters (Oracle RAC) database instances.ManagedDatabase.BuilderinstanceDetails(List<InstanceDetails> instanceDetails)The details of the Oracle Real Application Clusters (Oracle RAC) database instances.ManagedDatabase.BuilderisCluster(Boolean isCluster)Indicates whether the Oracle Database is part of a cluster.ManagedDatabase.BuildermanagedDatabaseGroups(List<ParentGroup> managedDatabaseGroups)A list of Managed Database Groups that the Managed Database belongs to.ManagedDatabase.BuildermanagementOption(ManagementOption managementOption)The management option used when enabling Database Management.ManagedDatabase.Buildername(String name)The name of the Managed Database.ManagedDatabase.BuilderparentContainerCompartmentId(String parentContainerCompartmentId)The OCID of the compartment in which the parent Container Database resides, if the Managed Database is a Pluggable Database (PDB).ManagedDatabase.BuilderparentContainerId(String parentContainerId)The OCID of the parent Container Database if Managed Database is a Pluggable Database.ManagedDatabase.BuilderparentContainerName(String parentContainerName)The name of the parent Container Database.ManagedDatabase.BuilderpdbCount(Integer pdbCount)The number of PDBs in the Container Database.ManagedDatabase.BuilderpdbStatus(List<PdbStatusDetails> pdbStatus)The status of the PDB in the Container Database.ManagedDatabase.BuilderstorageSystemId(String storageSystemId)The OCID of the storage DB system.ManagedDatabase.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ManagedDatabase.BuildertimeCreated(Date timeCreated)The date and time the Managed Database was created.ManagedDatabase.BuilderworkloadType(WorkloadType workloadType)The workload type of the Autonomous Database.
 
- 
- 
- 
Method Detail- 
idpublic ManagedDatabase.Builder id(String id) The OCID of the Managed Database.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ManagedDatabase.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
namepublic ManagedDatabase.Builder name(String name) The name of the Managed Database.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
databaseTypepublic ManagedDatabase.Builder databaseType(DatabaseType databaseType) The type of Oracle Database installation.- Parameters:
- databaseType- the value to set
- Returns:
- this builder
 
 - 
databaseSubTypepublic 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. - Parameters:
- databaseSubType- the value to set
- Returns:
- this builder
 
 - 
deploymentTypepublic ManagedDatabase.Builder deploymentType(DeploymentType deploymentType) The infrastructure used to deploy the Oracle Database.- Parameters:
- deploymentType- the value to set
- Returns:
- this builder
 
 - 
managementOptionpublic ManagedDatabase.Builder managementOption(ManagementOption managementOption) The management option used when enabling Database Management.- Parameters:
- managementOption- the value to set
- Returns:
- this builder
 
 - 
workloadTypepublic ManagedDatabase.Builder workloadType(WorkloadType workloadType) The workload type of the Autonomous Database.- Parameters:
- workloadType- the value to set
- Returns:
- this builder
 
 - 
isClusterpublic ManagedDatabase.Builder isCluster(Boolean isCluster) Indicates whether the Oracle Database is part of a cluster.- Parameters:
- isCluster- the value to set
- Returns:
- this builder
 
 - 
parentContainerIdpublic ManagedDatabase.Builder parentContainerId(String parentContainerId) The OCID of the parent Container Database if Managed Database is a Pluggable Database.- Parameters:
- parentContainerId- the value to set
- Returns:
- this builder
 
 - 
managedDatabaseGroupspublic ManagedDatabase.Builder managedDatabaseGroups(List<ParentGroup> managedDatabaseGroups) A list of Managed Database Groups that the Managed Database belongs to.- Parameters:
- managedDatabaseGroups- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic ManagedDatabase.Builder dbSystemId(String dbSystemId) The OCID of the DB system that this Managed Database is part of.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
storageSystemIdpublic ManagedDatabase.Builder storageSystemId(String storageSystemId) The OCID of the storage DB system.- Parameters:
- storageSystemId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ManagedDatabase.Builder timeCreated(Date timeCreated) The date and time the Managed Database was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
databaseVersionpublic ManagedDatabase.Builder databaseVersion(String databaseVersion) The Oracle Database version.- Parameters:
- databaseVersion- the value to set
- Returns:
- this builder
 
 - 
databaseStatuspublic 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. - Parameters:
- databaseStatus- the value to set
- Returns:
- this builder
 
 - 
parentContainerNamepublic ManagedDatabase.Builder parentContainerName(String parentContainerName) The name of the parent Container Database.- Parameters:
- parentContainerName- the value to set
- Returns:
- this builder
 
 - 
parentContainerCompartmentIdpublic 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).- Parameters:
- parentContainerCompartmentId- the value to set
- Returns:
- this builder
 
 - 
instanceCountpublic ManagedDatabase.Builder instanceCount(Integer instanceCount) The number of Oracle Real Application Clusters (Oracle RAC) database instances.- Parameters:
- instanceCount- the value to set
- Returns:
- this builder
 
 - 
instanceDetailspublic ManagedDatabase.Builder instanceDetails(List<InstanceDetails> instanceDetails) The details of the Oracle Real Application Clusters (Oracle RAC) database instances.- Parameters:
- instanceDetails- the value to set
- Returns:
- this builder
 
 - 
pdbCountpublic ManagedDatabase.Builder pdbCount(Integer pdbCount) The number of PDBs in the Container Database.- Parameters:
- pdbCount- the value to set
- Returns:
- this builder
 
 - 
pdbStatuspublic ManagedDatabase.Builder pdbStatus(List<PdbStatusDetails> pdbStatus) The status of the PDB in the Container Database.- Parameters:
- pdbStatus- the value to set
- Returns:
- this builder
 
 - 
additionalDetailspublic 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”} - Parameters:
- additionalDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
dbmgmtFeatureConfigspublic ManagedDatabase.Builder dbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs) The list of feature configurations- Parameters:
- dbmgmtFeatureConfigs- the value to set
- Returns:
- this builder
 
 - 
databasePlatformNamepublic ManagedDatabase.Builder databasePlatformName(String databasePlatformName) The operating system of database.- Parameters:
- databasePlatformName- the value to set
- Returns:
- this builder
 
 - 
buildpublic ManagedDatabase build() 
 - 
copypublic ManagedDatabase.Builder copy(ManagedDatabase model) 
 
- 
 
-