Class DatabaseSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.DatabaseSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn Oracle Database on a bare metal or virtual machine DB system.For more information, see Bare Metal and Virtual Machine DB Systems. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). *Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. 
 Note: Objects should always be created or deserialized using theDatabaseSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDatabaseSummary.Builder, which maintain a set of all explicitly set fields calledDatabaseSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDatabaseSummary.Builderstatic classDatabaseSummary.LifecycleStateThe current state of the database.
 - 
Constructor SummaryConstructors Constructor Description DatabaseSummary(String id, String compartmentId, String characterSet, String ncharacterSet, String dbHomeId, String dbSystemId, String vmClusterId, String dbName, String pdbName, String dbWorkload, String dbUniqueName, String lifecycleDetails, DatabaseSummary.LifecycleState lifecycleState, Date timeCreated, Date lastBackupTimestamp, Integer lastBackupDurationInSeconds, Date lastFailedBackupTimestamp, DbBackupConfig dbBackupConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DatabaseConnectionStrings connectionStrings, String kmsKeyId, String kmsKeyVersionId, String vaultId, Date sourceDatabasePointInTimeRecoveryTimestamp, String databaseSoftwareImageId, Boolean isCdb, CloudDatabaseManagementConfig databaseManagementConfig, String sidPrefix, String keyStoreId, String keyStoreWalletName, DataGuardGroup dataGuardGroup, EncryptionKeyLocationDetails encryptionKeyLocationDetails, DatabaseStorageSizeResponseDetails storageSizeDetails)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCharacterSet()The character set for the database.StringgetCompartmentId()The OCID of the compartment.DatabaseConnectionStringsgetConnectionStrings()The Connection strings used to connect to the Oracle Database.CloudDatabaseManagementConfiggetDatabaseManagementConfig()StringgetDatabaseSoftwareImageId()The database software image OCIDDataGuardGroupgetDataGuardGroup()DbBackupConfiggetDbBackupConfig()StringgetDbHomeId()The OCID of the Database Home.StringgetDbName()The database name.StringgetDbSystemId()The OCID of the DB system.StringgetDbUniqueName()A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases).StringgetDbWorkload()Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.EncryptionKeyLocationDetailsgetEncryptionKeyLocationDetails()Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the database.BooleangetIsCdb()True if the database is a container database.StringgetKeyStoreId()The OCID of the key store of Oracle Vault.StringgetKeyStoreWalletName()The wallet name for Oracle Key Vault.StringgetKmsKeyId()The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.StringgetKmsKeyVersionId()The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.IntegergetLastBackupDurationInSeconds()The duration when the latest database backup created.DategetLastBackupTimestamp()The date and time when the latest database backup was created.DategetLastFailedBackupTimestamp()The date and time when the latest database backup failed.StringgetLifecycleDetails()Additional information about the current lifecycle state.DatabaseSummary.LifecycleStategetLifecycleState()The current state of the database.StringgetNcharacterSet()The national character set for the database.StringgetPdbName()The name of the pluggable database.StringgetSidPrefix()Specifies a prefix for the Oracle SID of the database to be created.DategetSourceDatabasePointInTimeRecoveryTimestamp()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 3339DatabaseStorageSizeResponseDetailsgetStorageSizeDetails()Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The date and time the database was created.StringgetVaultId()StringgetVmClusterId()The OCID of the VM cluster.inthashCode()DatabaseSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DatabaseSummary@Deprecated @ConstructorProperties({"id","compartmentId","characterSet","ncharacterSet","dbHomeId","dbSystemId","vmClusterId","dbName","pdbName","dbWorkload","dbUniqueName","lifecycleDetails","lifecycleState","timeCreated","lastBackupTimestamp","lastBackupDurationInSeconds","lastFailedBackupTimestamp","dbBackupConfig","freeformTags","definedTags","systemTags","connectionStrings","kmsKeyId","kmsKeyVersionId","vaultId","sourceDatabasePointInTimeRecoveryTimestamp","databaseSoftwareImageId","isCdb","databaseManagementConfig","sidPrefix","keyStoreId","keyStoreWalletName","dataGuardGroup","encryptionKeyLocationDetails","storageSizeDetails"}) public DatabaseSummary(String id, String compartmentId, String characterSet, String ncharacterSet, String dbHomeId, String dbSystemId, String vmClusterId, String dbName, String pdbName, String dbWorkload, String dbUniqueName, String lifecycleDetails, DatabaseSummary.LifecycleState lifecycleState, Date timeCreated, Date lastBackupTimestamp, Integer lastBackupDurationInSeconds, Date lastFailedBackupTimestamp, DbBackupConfig dbBackupConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DatabaseConnectionStrings connectionStrings, String kmsKeyId, String kmsKeyVersionId, String vaultId, Date sourceDatabasePointInTimeRecoveryTimestamp, String databaseSoftwareImageId, Boolean isCdb, CloudDatabaseManagementConfig databaseManagementConfig, String sidPrefix, String keyStoreId, String keyStoreWalletName, DataGuardGroup dataGuardGroup, EncryptionKeyLocationDetails encryptionKeyLocationDetails, DatabaseStorageSizeResponseDetails storageSizeDetails) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DatabaseSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseSummary.Builder toBuilder() 
 - 
getCharacterSetpublic String getCharacterSet() The character set for the database.- Returns:
- the value
 
 - 
getNcharacterSetpublic String getNcharacterSet() The national character set for the database.- Returns:
- the value
 
 - 
getDbNamepublic String getDbName() The database name.- Returns:
- the value
 
 - 
getPdbNamepublic String getPdbName() 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. - Returns:
- the value
 
 - 
getDbWorkloadpublic String getDbWorkload() 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. - Returns:
- the value
 
 - 
getDbUniqueNamepublic String getDbUniqueName() 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. - Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Additional information about the current lifecycle state.- Returns:
- the value
 
 - 
getLifecycleStatepublic DatabaseSummary.LifecycleState getLifecycleState() The current state of the database.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the database was created.- Returns:
- the value
 
 - 
getLastBackupTimestamppublic Date getLastBackupTimestamp() The date and time when the latest database backup was created.- Returns:
- the value
 
 - 
getLastBackupDurationInSecondspublic Integer getLastBackupDurationInSeconds() The duration when the latest database backup created.- Returns:
- the value
 
 - 
getLastFailedBackupTimestamppublic Date getLastFailedBackupTimestamp() The date and time when the latest database backup failed.- Returns:
- the value
 
 - 
getDbBackupConfigpublic DbBackupConfig getDbBackupConfig() 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() 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"} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
getConnectionStringspublic DatabaseConnectionStrings getConnectionStrings() The Connection strings used to connect to the Oracle Database.- Returns:
- the value
 
 - 
getKmsKeyIdpublic String getKmsKeyId() The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Returns:
- the value
 
 - 
getKmsKeyVersionIdpublic String getKmsKeyVersionId() 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. - Returns:
- the value
 
 - 
getVaultIdpublic String getVaultId() The OCID of the Oracle Cloud Infrastructure vault.This parameter and secretId are required for Customer Managed Keys. - Returns:
- the value
 
 - 
getSourceDatabasePointInTimeRecoveryTimestamppublic Date getSourceDatabasePointInTimeRecoveryTimestamp() 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- Returns:
- the value
 
 - 
getDatabaseSoftwareImageIdpublic String getDatabaseSoftwareImageId() The database software image OCID- Returns:
- the value
 
 - 
getIsCdbpublic Boolean getIsCdb() True if the database is a container database.- Returns:
- the value
 
 - 
getDatabaseManagementConfigpublic CloudDatabaseManagementConfig getDatabaseManagementConfig() 
 - 
getSidPrefixpublic String getSidPrefix() Specifies a prefix for the Oracle SID of the database to be created.- Returns:
- the value
 
 - 
getKeyStoreIdpublic String getKeyStoreId() The OCID of the key store of Oracle Vault.- Returns:
- the value
 
 - 
getKeyStoreWalletNamepublic String getKeyStoreWalletName() The wallet name for Oracle Key Vault.- Returns:
- the value
 
 - 
getDataGuardGrouppublic DataGuardGroup getDataGuardGroup() 
 - 
getEncryptionKeyLocationDetailspublic EncryptionKeyLocationDetails getEncryptionKeyLocationDetails() 
 - 
getStorageSizeDetailspublic DatabaseStorageSizeResponseDetails getStorageSizeDetails() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-