Class CreatePluggableDatabaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.CreatePluggableDatabaseDetails.Builder
-
- Enclosing class:
- CreatePluggableDatabaseDetails
public static class CreatePluggableDatabaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
pdbName
public CreatePluggableDatabaseDetails.Builder pdbName(String pdbName)
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:
pdbName
- the value to set- Returns:
- this builder
-
containerDatabaseId
public CreatePluggableDatabaseDetails.Builder containerDatabaseId(String containerDatabaseId)
The OCID of the CDB- Parameters:
containerDatabaseId
- the value to set- Returns:
- this builder
-
pdbAdminPassword
public CreatePluggableDatabaseDetails.Builder pdbAdminPassword(String pdbAdminPassword)
A strong password for PDB Admin.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
-
tdeWalletPassword
public CreatePluggableDatabaseDetails.Builder tdeWalletPassword(String tdeWalletPassword)
The existing TDE wallet password of the CDB.- Parameters:
tdeWalletPassword
- the value to set- Returns:
- this builder
-
shouldPdbAdminAccountBeLocked
public CreatePluggableDatabaseDetails.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
-
containerDatabaseAdminPassword
public CreatePluggableDatabaseDetails.Builder containerDatabaseAdminPassword(String containerDatabaseAdminPassword)
The DB system administrator password of the Container Database.- Parameters:
containerDatabaseAdminPassword
- the value to set- Returns:
- this builder
-
shouldCreatePdbBackup
public CreatePluggableDatabaseDetails.Builder shouldCreatePdbBackup(Boolean shouldCreatePdbBackup)
Indicates whether to take Pluggable Database Backup after the operation.- Parameters:
shouldCreatePdbBackup
- the value to set- Returns:
- this builder
-
pdbCreationTypeDetails
public CreatePluggableDatabaseDetails.Builder pdbCreationTypeDetails(CreatePluggableDatabaseCreationTypeDetails pdbCreationTypeDetails)
-
freeformTags
public CreatePluggableDatabaseDetails.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 CreatePluggableDatabaseDetails.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 CreatePluggableDatabaseDetails build()
-
copy
public CreatePluggableDatabaseDetails.Builder copy(CreatePluggableDatabaseDetails model)
-
-