Class DatabaseSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.DatabaseSummary.Builder
 
- 
- Enclosing class:
- DatabaseSummary
 
 public static class DatabaseSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseSummarybuild()DatabaseSummary.BuildercharacterSet(String characterSet)The character set for the database.DatabaseSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.DatabaseSummary.BuilderconnectionStrings(DatabaseConnectionStrings connectionStrings)The Connection strings used to connect to the Oracle Database.DatabaseSummary.Buildercopy(DatabaseSummary model)DatabaseSummary.BuilderdatabaseManagementConfig(CloudDatabaseManagementConfig databaseManagementConfig)DatabaseSummary.BuilderdatabaseSoftwareImageId(String databaseSoftwareImageId)The database software image OCIDDatabaseSummary.BuilderdataGuardGroup(DataGuardGroup dataGuardGroup)DatabaseSummary.BuilderdbBackupConfig(DbBackupConfig dbBackupConfig)DatabaseSummary.BuilderdbHomeId(String dbHomeId)The OCID of the Database Home.DatabaseSummary.BuilderdbName(String dbName)The database name.DatabaseSummary.BuilderdbSystemId(String dbSystemId)The OCID of the DB system.DatabaseSummary.BuilderdbUniqueName(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.BuilderdbWorkload(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.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatabaseSummary.BuilderencryptionKeyLocationDetails(EncryptionKeyLocationDetails encryptionKeyLocationDetails)DatabaseSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DatabaseSummary.Builderid(String id)The OCID of the database.DatabaseSummary.BuilderisCdb(Boolean isCdb)True if the database is a container database.DatabaseSummary.BuilderkeyStoreId(String keyStoreId)The OCID of the key store of Oracle Vault.DatabaseSummary.BuilderkeyStoreWalletName(String keyStoreWalletName)The wallet name for Oracle Key Vault.DatabaseSummary.BuilderkmsKeyId(String kmsKeyId)The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.DatabaseSummary.BuilderkmsKeyVersionId(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.BuilderlastBackupDurationInSeconds(Integer lastBackupDurationInSeconds)The duration when the latest database backup created.DatabaseSummary.BuilderlastBackupTimestamp(Date lastBackupTimestamp)The date and time when the latest database backup was created.DatabaseSummary.BuilderlastFailedBackupTimestamp(Date lastFailedBackupTimestamp)The date and time when the latest database backup failed.DatabaseSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.DatabaseSummary.BuilderlifecycleState(DatabaseSummary.LifecycleState lifecycleState)The current state of the database.DatabaseSummary.BuilderncharacterSet(String ncharacterSet)The national character set for the database.DatabaseSummary.BuilderpdbName(String pdbName)The name of the pluggable database.DatabaseSummary.BuildersidPrefix(String sidPrefix)Specifies a prefix for the Oracle SID of the database to be created.DatabaseSummary.BuildersourceDatabasePointInTimeRecoveryTimestamp(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 3339DatabaseSummary.BuilderstorageSizeDetails(DatabaseStorageSizeResponseDetails storageSizeDetails)DatabaseSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DatabaseSummary.BuildertimeCreated(Date timeCreated)The date and time the database was created.DatabaseSummary.BuildervaultId(String vaultId)DatabaseSummary.BuildervmClusterId(String vmClusterId)The OCID of the VM cluster.
 
- 
- 
- 
Method Detail- 
idpublic DatabaseSummary.Builder id(String id) The OCID of the database.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DatabaseSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
characterSetpublic DatabaseSummary.Builder characterSet(String characterSet) The character set for the database.- Parameters:
- characterSet- the value to set
- Returns:
- this builder
 
 - 
ncharacterSetpublic DatabaseSummary.Builder ncharacterSet(String ncharacterSet) The national character set for the database.- Parameters:
- ncharacterSet- the value to set
- Returns:
- this builder
 
 - 
dbHomeIdpublic DatabaseSummary.Builder dbHomeId(String dbHomeId) The OCID of the Database Home.- Parameters:
- dbHomeId- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic DatabaseSummary.Builder dbSystemId(String dbSystemId) The OCID of the DB system.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
vmClusterIdpublic DatabaseSummary.Builder vmClusterId(String vmClusterId) The OCID of the VM cluster.- Parameters:
- vmClusterId- the value to set
- Returns:
- this builder
 
 - 
dbNamepublic DatabaseSummary.Builder dbName(String dbName) The database name.- Parameters:
- dbName- the value to set
- Returns:
- this builder
 
 - 
pdbNamepublic 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. - Parameters:
- pdbName- the value to set
- Returns:
- this builder
 
 - 
dbWorkloadpublic 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. - Parameters:
- dbWorkload- the value to set
- Returns:
- this builder
 
 - 
dbUniqueNamepublic 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. - Parameters:
- dbUniqueName- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic DatabaseSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DatabaseSummary.Builder lifecycleState(DatabaseSummary.LifecycleState lifecycleState) The current state of the database.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DatabaseSummary.Builder timeCreated(Date timeCreated) The date and time the database was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lastBackupTimestamppublic DatabaseSummary.Builder lastBackupTimestamp(Date lastBackupTimestamp) The date and time when the latest database backup was created.- Parameters:
- lastBackupTimestamp- the value to set
- Returns:
- this builder
 
 - 
lastBackupDurationInSecondspublic DatabaseSummary.Builder lastBackupDurationInSeconds(Integer lastBackupDurationInSeconds) The duration when the latest database backup created.- Parameters:
- lastBackupDurationInSeconds- the value to set
- Returns:
- this builder
 
 - 
lastFailedBackupTimestamppublic DatabaseSummary.Builder lastFailedBackupTimestamp(Date lastFailedBackupTimestamp) The date and time when the latest database backup failed.- Parameters:
- lastFailedBackupTimestamp- the value to set
- Returns:
- this builder
 
 - 
dbBackupConfigpublic DatabaseSummary.Builder dbBackupConfig(DbBackupConfig dbBackupConfig) 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic DatabaseSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
connectionStringspublic DatabaseSummary.Builder connectionStrings(DatabaseConnectionStrings connectionStrings) The Connection strings used to connect to the Oracle Database.- Parameters:
- connectionStrings- the value to set
- Returns:
- this builder
 
 - 
kmsKeyIdpublic 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.- Parameters:
- kmsKeyId- the value to set
- Returns:
- this builder
 
 - 
kmsKeyVersionIdpublic 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 AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances. - Parameters:
- kmsKeyVersionId- the value to set
- Returns:
- this builder
 
 - 
vaultIdpublic DatabaseSummary.Builder vaultId(String vaultId) The OCID of the Oracle Cloud Infrastructure vault.This parameter and secretId are required for Customer Managed Keys. - Parameters:
- vaultId- the value to set
- Returns:
- this builder
 
 - 
sourceDatabasePointInTimeRecoveryTimestamppublic 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- Parameters:
- sourceDatabasePointInTimeRecoveryTimestamp- the value to set
- Returns:
- this builder
 
 - 
databaseSoftwareImageIdpublic DatabaseSummary.Builder databaseSoftwareImageId(String databaseSoftwareImageId) The database software image OCID- Parameters:
- databaseSoftwareImageId- the value to set
- Returns:
- this builder
 
 - 
isCdbpublic DatabaseSummary.Builder isCdb(Boolean isCdb) True if the database is a container database.- Parameters:
- isCdb- the value to set
- Returns:
- this builder
 
 - 
databaseManagementConfigpublic DatabaseSummary.Builder databaseManagementConfig(CloudDatabaseManagementConfig databaseManagementConfig) 
 - 
sidPrefixpublic DatabaseSummary.Builder sidPrefix(String sidPrefix) Specifies a prefix for the Oracle SID of the database to be created.- Parameters:
- sidPrefix- the value to set
- Returns:
- this builder
 
 - 
keyStoreIdpublic DatabaseSummary.Builder keyStoreId(String keyStoreId) The OCID of the key store of Oracle Vault.- Parameters:
- keyStoreId- the value to set
- Returns:
- this builder
 
 - 
keyStoreWalletNamepublic DatabaseSummary.Builder keyStoreWalletName(String keyStoreWalletName) The wallet name for Oracle Key Vault.- Parameters:
- keyStoreWalletName- the value to set
- Returns:
- this builder
 
 - 
dataGuardGrouppublic DatabaseSummary.Builder dataGuardGroup(DataGuardGroup dataGuardGroup) 
 - 
encryptionKeyLocationDetailspublic DatabaseSummary.Builder encryptionKeyLocationDetails(EncryptionKeyLocationDetails encryptionKeyLocationDetails) 
 - 
storageSizeDetailspublic DatabaseSummary.Builder storageSizeDetails(DatabaseStorageSizeResponseDetails storageSizeDetails) 
 - 
buildpublic DatabaseSummary build() 
 - 
copypublic DatabaseSummary.Builder copy(DatabaseSummary model) 
 
- 
 
-