Package com.oracle.bmc.database.model
Class LocalClonePluggableDatabaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.LocalClonePluggableDatabaseDetails.Builder
-
- Enclosing class:
- LocalClonePluggableDatabaseDetails
public static class LocalClonePluggableDatabaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalClonePluggableDatabaseDetails
build()
LocalClonePluggableDatabaseDetails.Builder
clonedPdbName(String clonedPdbName)
The name for the pluggable database (PDB).LocalClonePluggableDatabaseDetails.Builder
copy(LocalClonePluggableDatabaseDetails model)
LocalClonePluggableDatabaseDetails.Builder
pdbAdminPassword(String pdbAdminPassword)
A strong password for PDB Admin of the newly cloned PDB.LocalClonePluggableDatabaseDetails.Builder
shouldPdbAdminAccountBeLocked(Boolean shouldPdbAdminAccountBeLocked)
The locked mode of the pluggable database admin account.LocalClonePluggableDatabaseDetails.Builder
targetTdeWalletPassword(String targetTdeWalletPassword)
The existing TDE wallet password of the target CDB.
-
-
-
Method Detail
-
clonedPdbName
public LocalClonePluggableDatabaseDetails.Builder clonedPdbName(String clonedPdbName)
The name for the pluggable database (PDB).The name is unique in the context of a
Database
. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.- Parameters:
clonedPdbName
- the value to set- Returns:
- this builder
-
pdbAdminPassword
public LocalClonePluggableDatabaseDetails.Builder pdbAdminPassword(String pdbAdminPassword)
A strong password for PDB Admin of the newly cloned PDB.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:
pdbAdminPassword
- the value to set- Returns:
- this builder
-
targetTdeWalletPassword
public LocalClonePluggableDatabaseDetails.Builder targetTdeWalletPassword(String targetTdeWalletPassword)
The existing TDE wallet password of the target CDB.- Parameters:
targetTdeWalletPassword
- the value to set- Returns:
- this builder
-
shouldPdbAdminAccountBeLocked
public LocalClonePluggableDatabaseDetails.Builder shouldPdbAdminAccountBeLocked(Boolean shouldPdbAdminAccountBeLocked)
The locked mode of the pluggable database admin account.If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- Parameters:
shouldPdbAdminAccountBeLocked
- the value to set- Returns:
- this builder
-
build
public LocalClonePluggableDatabaseDetails build()
-
copy
public LocalClonePluggableDatabaseDetails.Builder copy(LocalClonePluggableDatabaseDetails model)
-
-