public static class PluggableDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PluggableDatabase |
build() |
PluggableDatabase.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
PluggableDatabase.Builder |
connectionStrings(PluggableDatabaseConnectionStrings connectionStrings) |
PluggableDatabase.Builder |
containerDatabaseId(String containerDatabaseId)
The OCID of the
CDB.
|
PluggableDatabase.Builder |
copy(PluggableDatabase model) |
PluggableDatabase.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PluggableDatabase.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
PluggableDatabase.Builder |
id(String id)
The OCID of the
pluggable database.
|
PluggableDatabase.Builder |
isRestricted(Boolean isRestricted)
The restricted mode of the pluggable database.
|
PluggableDatabase.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database
transparent data encryption (TDE) operations.
|
PluggableDatabase.Builder |
kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the key container version that is used in database transparent data
encryption (TDE) operations KMS Key can have multiple key versions.
|
PluggableDatabase.Builder |
lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.
|
PluggableDatabase.Builder |
lifecycleState(PluggableDatabase.LifecycleState lifecycleState)
The current state of the pluggable database.
|
PluggableDatabase.Builder |
openMode(PluggableDatabase.OpenMode openMode)
Deprecated. Use
pluggableDatabaseNodeLevelDetails for OpenMode details. |
PluggableDatabase.Builder |
pdbName(String pdbName)
The name for the pluggable database (PDB).
|
PluggableDatabase.Builder |
pdbNodeLevelDetails(List<PluggableDatabaseNodeLevelDetails> pdbNodeLevelDetails)
Pluggable Database Node Level Details.
|
PluggableDatabase.Builder |
pluggableDatabaseManagementConfig(PluggableDatabaseManagementConfig pluggableDatabaseManagementConfig) |
PluggableDatabase.Builder |
refreshableCloneConfig(PluggableDatabaseRefreshableCloneConfig refreshableCloneConfig) |
PluggableDatabase.Builder |
timeCreated(Date timeCreated)
The date and time the pluggable database was created.
|
public PluggableDatabase.Builder id(String id)
The OCID of the pluggable database.
id
- the value to setpublic PluggableDatabase.Builder containerDatabaseId(String containerDatabaseId)
The OCID of the CDB.
containerDatabaseId
- the value to setpublic PluggableDatabase.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.
pdbName
- the value to setpublic PluggableDatabase.Builder lifecycleState(PluggableDatabase.LifecycleState lifecycleState)
The current state of the pluggable database.
lifecycleState
- the value to setpublic PluggableDatabase.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.
lifecycleDetails
- the value to setpublic PluggableDatabase.Builder timeCreated(Date timeCreated)
The date and time the pluggable database was created.
timeCreated
- the value to setpublic PluggableDatabase.Builder connectionStrings(PluggableDatabaseConnectionStrings connectionStrings)
public PluggableDatabase.Builder openMode(PluggableDatabase.OpenMode openMode)
Deprecated. Use pluggableDatabaseNodeLevelDetails
for OpenMode details. The mode that pluggable database
is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend
(within the Oracle Database software).
openMode
- the value to setpublic PluggableDatabase.Builder isRestricted(Boolean isRestricted)
The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
isRestricted
- the value to setpublic PluggableDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic PluggableDatabase.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"}
freeformTags
- the value to setpublic PluggableDatabase.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.
definedTags
- the value to setpublic PluggableDatabase.Builder pluggableDatabaseManagementConfig(PluggableDatabaseManagementConfig pluggableDatabaseManagementConfig)
public PluggableDatabase.Builder kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyId
- the value to setpublic PluggableDatabase.Builder kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
kmsKeyVersionId
- the value to setpublic PluggableDatabase.Builder refreshableCloneConfig(PluggableDatabaseRefreshableCloneConfig refreshableCloneConfig)
public PluggableDatabase.Builder pdbNodeLevelDetails(List<PluggableDatabaseNodeLevelDetails> pdbNodeLevelDetails)
Pluggable Database Node Level Details. Example: [{“nodeName” : “node1”, “openMode” : “READ_WRITE”}, {“nodeName” : “node2”, “openMode” : “READ_ONLY”}]
pdbNodeLevelDetails
- the value to setpublic PluggableDatabase build()
public PluggableDatabase.Builder copy(PluggableDatabase model)
Copyright © 2016–2024. All rights reserved.