Package com.oracle.bmc.database.model
Class RemoteClonePluggableDatabaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.RemoteClonePluggableDatabaseDetails.Builder
-
- Enclosing class:
- RemoteClonePluggableDatabaseDetails
public static class RemoteClonePluggableDatabaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
targetContainerDatabaseId
public RemoteClonePluggableDatabaseDetails.Builder targetContainerDatabaseId(String targetContainerDatabaseId)
The OCID of the target CDB- Parameters:
targetContainerDatabaseId
- the value to set- Returns:
- this builder
-
sourceContainerDbAdminPassword
public RemoteClonePluggableDatabaseDetails.Builder sourceContainerDbAdminPassword(String sourceContainerDbAdminPassword)
The DB system administrator password of the source CDB.- Parameters:
sourceContainerDbAdminPassword
- the value to set- Returns:
- this builder
-
clonedPdbName
public RemoteClonePluggableDatabaseDetails.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 RemoteClonePluggableDatabaseDetails.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 RemoteClonePluggableDatabaseDetails.Builder targetTdeWalletPassword(String targetTdeWalletPassword)
The existing TDE wallet password of the target CDB.- Parameters:
targetTdeWalletPassword
- the value to set- Returns:
- this builder
-
shouldPdbAdminAccountBeLocked
public RemoteClonePluggableDatabaseDetails.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 RemoteClonePluggableDatabaseDetails build()
-
copy
public RemoteClonePluggableDatabaseDetails.Builder copy(RemoteClonePluggableDatabaseDetails model)
-
-