public static class ExternalDatabaseSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public ExternalDatabaseSummary.Builder id(String id)
The OCID of the external DB system.
id
- the value to setpublic ExternalDatabaseSummary.Builder displayName(String displayName)
The user-friendly name for the database. The name does not have to be unique.
displayName
- the value to setpublic ExternalDatabaseSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExternalDatabaseSummary.Builder dbUniqueName(String dbUniqueName)
The DB_UNIQUE_NAME
of the external database.
dbUniqueName
- the value to setpublic ExternalDatabaseSummary.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
databaseType
- the value to setpublic ExternalDatabaseSummary.Builder databaseSubType(DatabaseSubType databaseSubType)
The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
databaseSubType
- the value to setpublic ExternalDatabaseSummary.Builder externalContainerDatabaseId(String externalContainerDatabaseId)
The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
externalContainerDatabaseId
- the value to setpublic ExternalDatabaseSummary.Builder externalDbHomeId(String externalDbHomeId)
The OCID of the external DB home.
externalDbHomeId
- the value to setpublic ExternalDatabaseSummary.Builder dbSystemInfo(ExternalDbSystemBasicInfo dbSystemInfo)
public ExternalDatabaseSummary.Builder dbManagementConfig(DatabaseManagementConfig dbManagementConfig)
public ExternalDatabaseSummary.Builder instanceDetails(List<ExternalDatabaseInstance> instanceDetails)
The list of database instances if the database is a RAC database.
instanceDetails
- the value to setpublic ExternalDatabaseSummary.Builder lifecycleState(ExternalDatabaseSummary.LifecycleState lifecycleState)
The current lifecycle state of the external database resource.
lifecycleState
- the value to setpublic ExternalDatabaseSummary.Builder timeCreated(Date timeCreated)
The date and time the external DB system was created.
timeCreated
- the value to setpublic ExternalDatabaseSummary.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 ExternalDatabaseSummary.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 ExternalDatabaseSummary.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 ExternalDatabaseSummary.Builder dbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs)
The list of feature configurations
dbmgmtFeatureConfigs
- the value to setpublic ExternalDatabaseSummary.Builder databaseVersion(String databaseVersion)
The Oracle database version.
databaseVersion
- the value to setpublic ExternalDatabaseSummary.Builder databasePlatformName(String databasePlatformName)
The operating system of database.
databasePlatformName
- the value to setpublic ExternalDatabaseSummary build()
public ExternalDatabaseSummary.Builder copy(ExternalDatabaseSummary model)
Copyright © 2016–2024. All rights reserved.