Package com.oracle.bmc.database.model
Class ExternalDatabaseBase.Builder
- java.lang.Object
 - 
- com.oracle.bmc.database.model.ExternalDatabaseBase.Builder
 
 
- 
- Enclosing class:
 - ExternalDatabaseBase
 
public static class ExternalDatabaseBase.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDatabaseBasebuild()ExternalDatabaseBase.BuildercharacterSet(String characterSet)The character set of the external database.ExternalDatabaseBase.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExternalDatabaseBase.Buildercopy(ExternalDatabaseBase model)ExternalDatabaseBase.BuilderdatabaseConfiguration(ExternalDatabaseBase.DatabaseConfiguration databaseConfiguration)The Oracle Database configurationExternalDatabaseBase.BuilderdatabaseEdition(ExternalDatabaseBase.DatabaseEdition databaseEdition)The Oracle Database Edition that applies to all the databases on the DB system.ExternalDatabaseBase.BuilderdatabaseManagementConfig(DatabaseManagementConfig databaseManagementConfig)ExternalDatabaseBase.BuilderdatabaseVersion(String databaseVersion)The Oracle Database version.ExternalDatabaseBase.BuilderdbId(String dbId)The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.ExternalDatabaseBase.BuilderdbPacks(String dbPacks)The database packs licensed for the external Oracle Database.ExternalDatabaseBase.BuilderdbUniqueName(String dbUniqueName)The DB_UNIQUE_NAME of the external database.ExternalDatabaseBase.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExternalDatabaseBase.BuilderdisplayName(String displayName)The user-friendly name for the external database.ExternalDatabaseBase.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExternalDatabaseBase.Builderid(String id)The OCID of the Oracle Cloud Infrastructure external database resource.ExternalDatabaseBase.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExternalDatabaseBase.BuilderlifecycleState(ExternalDatabaseBase.LifecycleState lifecycleState)The current state of the Oracle Cloud Infrastructure external database resource.ExternalDatabaseBase.BuilderncharacterSet(String ncharacterSet)The national character of the external database.ExternalDatabaseBase.BuilderstackMonitoringConfig(StackMonitoringConfig stackMonitoringConfig)ExternalDatabaseBase.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExternalDatabaseBase.BuildertimeCreated(Date timeCreated)The date and time the database was created.ExternalDatabaseBase.BuildertimeZone(String timeZone)The time zone of the external database. 
 - 
 
- 
- 
Method Detail
- 
compartmentId
public ExternalDatabaseBase.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
 compartmentId- the value to set- Returns:
 - this builder
 
 
- 
freeformTags
public ExternalDatabaseBase.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 ExternalDatabaseBase.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.
- Parameters:
 definedTags- the value to set- Returns:
 - this builder
 
 
- 
systemTags
public ExternalDatabaseBase.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.
- Parameters:
 systemTags- the value to set- Returns:
 - this builder
 
 
- 
displayName
public ExternalDatabaseBase.Builder displayName(String displayName)
The user-friendly name for the external database.The name does not have to be unique.
- Parameters:
 displayName- the value to set- Returns:
 - this builder
 
 
- 
id
public ExternalDatabaseBase.Builder id(String id)
The OCID of the Oracle Cloud Infrastructure external database resource.- Parameters:
 id- the value to set- Returns:
 - this builder
 
 
- 
lifecycleDetails
public ExternalDatabaseBase.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
 lifecycleDetails- the value to set- Returns:
 - this builder
 
 
- 
lifecycleState
public ExternalDatabaseBase.Builder lifecycleState(ExternalDatabaseBase.LifecycleState lifecycleState)
The current state of the Oracle Cloud Infrastructure external database resource.- Parameters:
 lifecycleState- the value to set- Returns:
 - this builder
 
 
- 
timeCreated
public ExternalDatabaseBase.Builder timeCreated(Date timeCreated)
The date and time the database was created.- Parameters:
 timeCreated- the value to set- Returns:
 - this builder
 
 
- 
dbUniqueName
public ExternalDatabaseBase.Builder dbUniqueName(String dbUniqueName)
The DB_UNIQUE_NAME of the external database.- Parameters:
 dbUniqueName- the value to set- Returns:
 - this builder
 
 
- 
dbId
public ExternalDatabaseBase.Builder dbId(String dbId)
The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.- Parameters:
 dbId- the value to set- Returns:
 - this builder
 
 
- 
databaseVersion
public ExternalDatabaseBase.Builder databaseVersion(String databaseVersion)
The Oracle Database version.- Parameters:
 databaseVersion- the value to set- Returns:
 - this builder
 
 
- 
databaseEdition
public ExternalDatabaseBase.Builder databaseEdition(ExternalDatabaseBase.DatabaseEdition databaseEdition)
The Oracle Database Edition that applies to all the databases on the DB system.Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- Parameters:
 databaseEdition- the value to set- Returns:
 - this builder
 
 
- 
timeZone
public ExternalDatabaseBase.Builder timeZone(String timeZone)
The time zone of the external database.It is a time zone offset (a character type in the format ‘[+|-]TZH:TZM’) or a time zone region name, depending on how the time zone value was specified when the database was created / last altered.
- Parameters:
 timeZone- the value to set- Returns:
 - this builder
 
 
- 
characterSet
public ExternalDatabaseBase.Builder characterSet(String characterSet)
The character set of the external database.- Parameters:
 characterSet- the value to set- Returns:
 - this builder
 
 
- 
ncharacterSet
public ExternalDatabaseBase.Builder ncharacterSet(String ncharacterSet)
The national character of the external database.- Parameters:
 ncharacterSet- the value to set- Returns:
 - this builder
 
 
- 
dbPacks
public ExternalDatabaseBase.Builder dbPacks(String dbPacks)
The database packs licensed for the external Oracle Database.- Parameters:
 dbPacks- the value to set- Returns:
 - this builder
 
 
- 
databaseConfiguration
public ExternalDatabaseBase.Builder databaseConfiguration(ExternalDatabaseBase.DatabaseConfiguration databaseConfiguration)
The Oracle Database configuration- Parameters:
 databaseConfiguration- the value to set- Returns:
 - this builder
 
 
- 
databaseManagementConfig
public ExternalDatabaseBase.Builder databaseManagementConfig(DatabaseManagementConfig databaseManagementConfig)
 
- 
stackMonitoringConfig
public ExternalDatabaseBase.Builder stackMonitoringConfig(StackMonitoringConfig stackMonitoringConfig)
 
- 
build
public ExternalDatabaseBase build()
 
- 
copy
public ExternalDatabaseBase.Builder copy(ExternalDatabaseBase model)
 
 - 
 
 -