public static class DatabaseSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseSummary |
build() |
DatabaseSummary.Builder |
characterSet(String characterSet)
The character set for the database.
|
DatabaseSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
DatabaseSummary.Builder |
connectionStrings(DatabaseConnectionStrings connectionStrings)
The Connection strings used to connect to the Oracle Database.
|
DatabaseSummary.Builder |
copy(DatabaseSummary model) |
DatabaseSummary.Builder |
databaseManagementConfig(CloudDatabaseManagementConfig databaseManagementConfig) |
DatabaseSummary.Builder |
databaseSoftwareImageId(String databaseSoftwareImageId)
The database software image
OCID
|
DatabaseSummary.Builder |
dbBackupConfig(DbBackupConfig dbBackupConfig) |
DatabaseSummary.Builder |
dbHomeId(String dbHomeId)
The OCID of the
Database Home.
|
DatabaseSummary.Builder |
dbName(String dbName)
The database name.
|
DatabaseSummary.Builder |
dbSystemId(String dbSystemId)
The OCID of the
DB system.
|
DatabaseSummary.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).
|
DatabaseSummary.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.
|
DatabaseSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DatabaseSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DatabaseSummary.Builder |
id(String id)
The OCID of the
database.
|
DatabaseSummary.Builder |
isCdb(Boolean isCdb)
True if the database is a container database.
|
DatabaseSummary.Builder |
keyStoreId(String keyStoreId)
The OCID of the
key store of Oracle Vault.
|
DatabaseSummary.Builder |
keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
|
DatabaseSummary.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.
|
DatabaseSummary.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.
|
DatabaseSummary.Builder |
lastBackupDurationInSeconds(Integer lastBackupDurationInSeconds)
The duration when the latest database backup created.
|
DatabaseSummary.Builder |
lastBackupTimestamp(Date lastBackupTimestamp)
The date and time when the latest database backup was created.
|
DatabaseSummary.Builder |
lastFailedBackupTimestamp(Date lastFailedBackupTimestamp)
The date and time when the latest database backup failed.
|
DatabaseSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
DatabaseSummary.Builder |
lifecycleState(DatabaseSummary.LifecycleState lifecycleState)
The current state of the database.
|
DatabaseSummary.Builder |
ncharacterSet(String ncharacterSet)
The national character set for the database.
|
DatabaseSummary.Builder |
pdbName(String pdbName)
The name of the pluggable database.
|
DatabaseSummary.Builder |
sidPrefix(String sidPrefix)
Specifies a prefix for the
Oracle SID of the database to be created. |
DatabaseSummary.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
|
DatabaseSummary.Builder |
timeCreated(Date timeCreated)
The date and time the database was created.
|
DatabaseSummary.Builder |
vaultId(String vaultId)
|
DatabaseSummary.Builder |
vmClusterId(String vmClusterId)
The OCID of the
VM cluster.
|
public DatabaseSummary.Builder id(String id)
The OCID of the database.
id
- the value to setpublic DatabaseSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DatabaseSummary.Builder characterSet(String characterSet)
The character set for the database.
characterSet
- the value to setpublic DatabaseSummary.Builder ncharacterSet(String ncharacterSet)
The national character set for the database.
ncharacterSet
- the value to setpublic DatabaseSummary.Builder dbHomeId(String dbHomeId)
The OCID of the Database Home.
dbHomeId
- the value to setpublic DatabaseSummary.Builder dbSystemId(String dbSystemId)
The OCID of the DB system.
dbSystemId
- the value to setpublic DatabaseSummary.Builder vmClusterId(String vmClusterId)
The OCID of the VM cluster.
vmClusterId
- the value to setpublic DatabaseSummary.Builder dbName(String dbName)
The database name.
dbName
- the value to setpublic DatabaseSummary.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 DatabaseSummary.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 DatabaseSummary.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 DatabaseSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DatabaseSummary.Builder lifecycleState(DatabaseSummary.LifecycleState lifecycleState)
The current state of the database.
lifecycleState
- the value to setpublic DatabaseSummary.Builder timeCreated(Date timeCreated)
The date and time the database was created.
timeCreated
- the value to setpublic DatabaseSummary.Builder lastBackupTimestamp(Date lastBackupTimestamp)
The date and time when the latest database backup was created.
lastBackupTimestamp
- the value to setpublic DatabaseSummary.Builder lastBackupDurationInSeconds(Integer lastBackupDurationInSeconds)
The duration when the latest database backup created.
lastBackupDurationInSeconds
- the value to setpublic DatabaseSummary.Builder lastFailedBackupTimestamp(Date lastFailedBackupTimestamp)
The date and time when the latest database backup failed.
lastFailedBackupTimestamp
- the value to setpublic DatabaseSummary.Builder dbBackupConfig(DbBackupConfig dbBackupConfig)
public DatabaseSummary.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 DatabaseSummary.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 DatabaseSummary.Builder connectionStrings(DatabaseConnectionStrings connectionStrings)
The Connection strings used to connect to the Oracle Database.
connectionStrings
- the value to setpublic DatabaseSummary.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 DatabaseSummary.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 DatabaseSummary.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 DatabaseSummary.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 DatabaseSummary.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The database software image OCID
databaseSoftwareImageId
- the value to setpublic DatabaseSummary.Builder isCdb(Boolean isCdb)
True if the database is a container database.
isCdb
- the value to setpublic DatabaseSummary.Builder databaseManagementConfig(CloudDatabaseManagementConfig databaseManagementConfig)
public DatabaseSummary.Builder sidPrefix(String sidPrefix)
Specifies a prefix for the Oracle SID
of the database to be created.
sidPrefix
- the value to setpublic DatabaseSummary.Builder keyStoreId(String keyStoreId)
The OCID of the key store of Oracle Vault.
keyStoreId
- the value to setpublic DatabaseSummary.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic DatabaseSummary build()
public DatabaseSummary.Builder copy(DatabaseSummary model)
Copyright © 2016–2024. All rights reserved.