Package com.oracle.bmc.database.model
Class CreateDatabaseFromAnotherDatabaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.CreateDatabaseFromAnotherDatabaseDetails.Builder
-
- Enclosing class:
- CreateDatabaseFromAnotherDatabaseDetails
public static class CreateDatabaseFromAnotherDatabaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
databaseId
public CreateDatabaseFromAnotherDatabaseDetails.Builder databaseId(String databaseId)
The database OCID.- Parameters:
databaseId- the value to set- Returns:
- this builder
-
backupTDEPassword
public CreateDatabaseFromAnotherDatabaseDetails.Builder backupTDEPassword(String backupTDEPassword)
The password to open the TDE wallet.- Parameters:
backupTDEPassword- the value to set- Returns:
- this builder
-
adminPassword
public CreateDatabaseFromAnotherDatabaseDetails.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
-
dbUniqueName
public CreateDatabaseFromAnotherDatabaseDetails.Builder dbUniqueName(String dbUniqueName)
The DB_UNIQUE_NAME of the Oracle Database being backed up.- Parameters:
dbUniqueName- the value to set- Returns:
- this builder
-
dbName
public CreateDatabaseFromAnotherDatabaseDetails.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
-
timeStampForPointInTimeRecovery
public CreateDatabaseFromAnotherDatabaseDetails.Builder timeStampForPointInTimeRecovery(Date timeStampForPointInTimeRecovery)
The point in time of the original database from which the new database is created.If not specifed, the latest backup is used to create the database.
- Parameters:
timeStampForPointInTimeRecovery- the value to set- Returns:
- this builder
-
pluggableDatabases
public CreateDatabaseFromAnotherDatabaseDetails.Builder pluggableDatabases(List<String> pluggableDatabases)
The list of pluggable databases that needs to be restored into new database.- Parameters:
pluggableDatabases- the value to set- Returns:
- this builder
-
freeformTags
public CreateDatabaseFromAnotherDatabaseDetails.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 CreateDatabaseFromAnotherDatabaseDetails.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
-
sidPrefix
public CreateDatabaseFromAnotherDatabaseDetails.Builder sidPrefix(String sidPrefix)
Specifies a prefix for the Oracle SID of the database to be created.- Parameters:
sidPrefix- the value to set- Returns:
- this builder
-
sourceEncryptionKeyLocationDetails
public CreateDatabaseFromAnotherDatabaseDetails.Builder sourceEncryptionKeyLocationDetails(EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails)
-
storageSizeDetails
public CreateDatabaseFromAnotherDatabaseDetails.Builder storageSizeDetails(DatabaseStorageSizeDetails storageSizeDetails)
-
vmClusterId
public CreateDatabaseFromAnotherDatabaseDetails.Builder vmClusterId(String vmClusterId)
The OCID of the VM cluster.- Parameters:
vmClusterId- the value to set- Returns:
- this builder
-
build
public CreateDatabaseFromAnotherDatabaseDetails build()
-
copy
public CreateDatabaseFromAnotherDatabaseDetails.Builder copy(CreateDatabaseFromAnotherDatabaseDetails model)
-
-