Package com.oracle.bmc.database.model
Class CreateDatabaseFromDbSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.CreateDatabaseFromDbSystemDetails.Builder
-
- Enclosing class:
- CreateDatabaseFromDbSystemDetails
public static class CreateDatabaseFromDbSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
adminPassword
public CreateDatabaseFromDbSystemDetails.Builder adminPassword(String adminPassword)
A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet.The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \#, or -.
- Parameters:
adminPassword
- the value to set- Returns:
- this builder
-
dbName
public CreateDatabaseFromDbSystemDetails.Builder dbName(String dbName)
The display name of the database to be created from the backup.It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- Parameters:
dbName
- the value to set- Returns:
- this builder
-
dbDomain
public CreateDatabaseFromDbSystemDetails.Builder dbDomain(String dbDomain)
The database domain.In a distributed database system, DB_DOMAIN specifies the logical location of the database within the network structure.
- Parameters:
dbDomain
- the value to set- Returns:
- this builder
-
dbUniqueName
public CreateDatabaseFromDbSystemDetails.Builder dbUniqueName(String dbUniqueName)
The DB_UNIQUE_NAME of the Oracle Database.- Parameters:
dbUniqueName
- the value to set- Returns:
- this builder
-
dbBackupConfig
public CreateDatabaseFromDbSystemDetails.Builder dbBackupConfig(DbBackupConfig dbBackupConfig)
-
freeformTags
public CreateDatabaseFromDbSystemDetails.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 CreateDatabaseFromDbSystemDetails.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
-
build
public CreateDatabaseFromDbSystemDetails build()
-
copy
public CreateDatabaseFromDbSystemDetails.Builder copy(CreateDatabaseFromDbSystemDetails model)
-
-