Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Database |
build() |
Database.Builder |
characterSet(String characterSet)
The character set for the database.
|
Database.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
Database.Builder |
connectionStrings(DatabaseConnectionStrings connectionStrings)
The Connection strings used to connect to the Oracle Database.
|
Database.Builder |
copy(Database model) |
Database.Builder |
databaseManagementConfig(CloudDatabaseManagementConfig databaseManagementConfig) |
Database.Builder |
databaseSoftwareImageId(String databaseSoftwareImageId)
The database software image
OCID
|
Database.Builder |
dbBackupConfig(DbBackupConfig dbBackupConfig) |
Database.Builder |
dbHomeId(String dbHomeId)
The OCID of the
Database Home.
|
Database.Builder |
dbName(String dbName)
The database name.
|
Database.Builder |
dbSystemId(String dbSystemId)
The OCID of the
DB system.
|
Database.Builder |
dbUniqueName(String dbUniqueName)
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard
group (a primary database and its standby databases).
|
Database.Builder |
dbWorkload(String dbWorkload)
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on
Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database
Service.
|
Database.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Database.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Database.Builder |
id(String id)
The OCID of the
database.
|
Database.Builder |
isCdb(Boolean isCdb)
True if the database is a container database.
|
Database.Builder |
keyStoreId(String keyStoreId)
The OCID of the
key store of Oracle Vault.
|
Database.Builder |
keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
|
Database.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.
|
Database.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.
|
Database.Builder |
lastBackupDurationInSeconds(Integer lastBackupDurationInSeconds)
The duration when the latest database backup created.
|
Database.Builder |
lastBackupTimestamp(Date lastBackupTimestamp)
The date and time when the latest database backup was created.
|
Database.Builder |
lastFailedBackupTimestamp(Date lastFailedBackupTimestamp)
The date and time when the latest database backup failed.
|
Database.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
Database.Builder |
lifecycleState(Database.LifecycleState lifecycleState)
The current state of the database.
|
Database.Builder |
ncharacterSet(String ncharacterSet)
The national character set for the database.
|
Database.Builder |
pdbName(String pdbName)
The name of the pluggable database.
|
Database.Builder |
sidPrefix(String sidPrefix)
Specifies a prefix for the
Oracle SID of the database to be created. |
Database.Builder |
sourceDatabasePointInTimeRecoveryTimestamp(Date sourceDatabasePointInTimeRecoveryTimestamp)
Point in time recovery timeStamp of the source database at which cloned database system
is cloned from the source database system, as described in RFC
3339
|
Database.Builder |
timeCreated(Date timeCreated)
The date and time the database was created.
|
Database.Builder |
vaultId(String vaultId)
|
Database.Builder |
vmClusterId(String vmClusterId)
The OCID of the
VM cluster.
|
public Database.Builder id(String id)
The OCID of the database.
id
- the value to setpublic Database.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic Database.Builder characterSet(String characterSet)
The character set for the database.
characterSet
- the value to setpublic Database.Builder ncharacterSet(String ncharacterSet)
The national character set for the database.
ncharacterSet
- the value to setpublic Database.Builder dbHomeId(String dbHomeId)
The OCID of the Database Home.
dbHomeId
- the value to setpublic Database.Builder dbSystemId(String dbSystemId)
The OCID of the DB system.
dbSystemId
- the value to setpublic Database.Builder vmClusterId(String vmClusterId)
The OCID of the VM cluster.
vmClusterId
- the value to setpublic Database.Builder dbName(String dbName)
The database name.
dbName
- the value to setpublic Database.Builder pdbName(String pdbName)
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
pdbName
- the value to setpublic Database.Builder dbWorkload(String dbWorkload)
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
The database workload type.
dbWorkload
- the value to setpublic Database.Builder dbUniqueName(String dbUniqueName)
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbUniqueName
- the value to setpublic Database.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic Database.Builder lifecycleState(Database.LifecycleState lifecycleState)
The current state of the database.
lifecycleState
- the value to setpublic Database.Builder timeCreated(Date timeCreated)
The date and time the database was created.
timeCreated
- the value to setpublic Database.Builder lastBackupTimestamp(Date lastBackupTimestamp)
The date and time when the latest database backup was created.
lastBackupTimestamp
- the value to setpublic Database.Builder lastBackupDurationInSeconds(Integer lastBackupDurationInSeconds)
The duration when the latest database backup created.
lastBackupDurationInSeconds
- the value to setpublic Database.Builder lastFailedBackupTimestamp(Date lastFailedBackupTimestamp)
The date and time when the latest database backup failed.
lastFailedBackupTimestamp
- the value to setpublic Database.Builder dbBackupConfig(DbBackupConfig dbBackupConfig)
public Database.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 Database.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 Database.Builder connectionStrings(DatabaseConnectionStrings connectionStrings)
The Connection strings used to connect to the Oracle Database.
connectionStrings
- the value to setpublic Database.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 Database.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 Database.Builder vaultId(String vaultId)
The OCID of the
Oracle Cloud Infrastructure
vault.
This parameter and secretId
are required for Customer Managed Keys.
vaultId
- the value to setpublic Database.Builder sourceDatabasePointInTimeRecoveryTimestamp(Date sourceDatabasePointInTimeRecoveryTimestamp)
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
sourceDatabasePointInTimeRecoveryTimestamp
- the value to setpublic Database.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The database software image OCID
databaseSoftwareImageId
- the value to setpublic Database.Builder isCdb(Boolean isCdb)
True if the database is a container database.
isCdb
- the value to setpublic Database.Builder databaseManagementConfig(CloudDatabaseManagementConfig databaseManagementConfig)
public Database.Builder sidPrefix(String sidPrefix)
Specifies a prefix for the Oracle SID
of the database to be created.
sidPrefix
- the value to setpublic Database.Builder keyStoreId(String keyStoreId)
The OCID of the key store of Oracle Vault.
keyStoreId
- the value to setpublic Database.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic Database build()
public Database.Builder copy(Database model)
Copyright © 2016–2024. All rights reserved.