Class DiscoveredCloudDatabase
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.DiscoveredCloudDbSystemComponent
- 
- com.oracle.bmc.databasemanagement.model.DiscoveredCloudDatabase
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class DiscoveredCloudDatabase extends DiscoveredCloudDbSystemComponentThe details of a cloud Oracle Database discovered in a cloud DB system discovery run.
 Note: Objects should always be created or deserialized using theDiscoveredCloudDatabase.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 theDiscoveredCloudDatabase.Builder, which maintain a set of all explicitly set fields calledDiscoveredCloudDatabase.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 classDiscoveredCloudDatabase.Builderstatic classDiscoveredCloudDatabase.DbRoleThe role of the Oracle Database in Oracle Data Guard configuration.- 
Nested classes/interfaces inherited from class com.oracle.bmc.databasemanagement.model.DiscoveredCloudDbSystemComponentDiscoveredCloudDbSystemComponent.Status
 
- 
 - 
Constructor SummaryConstructors Constructor Description DiscoveredCloudDatabase(String componentId, String displayName, String componentName, String resourceId, String dbaasId, Boolean isSelectedForMonitoring, DiscoveredCloudDbSystemComponent.Status status, List<AssociatedCloudComponent> associatedComponents, String compartmentId, String dbUniqueName, DatabaseSubType dbType, Boolean isCluster, String dbEdition, String dbId, String dbPacks, DiscoveredCloudDatabase.DbRole dbRole, String dbVersion, List<DiscoveredCloudPluggableDatabase> pluggableDatabases, List<DiscoveredCloudDbInstance> dbInstances, Boolean canEnableAllCurrentPdbs, Boolean isAutoEnablePluggableDatabase, CloudDbSystemDiscoveryConnector connector)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiscoveredCloudDatabase.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetCanEnableAllCurrentPdbs()Indicates whether Diagnostics & Management should be enabled for all the current pluggable databases in the container database.StringgetCompartmentId()The OCID of the compartment.CloudDbSystemDiscoveryConnectorgetConnector()StringgetDbEdition()The Oracle Database edition.StringgetDbId()The Oracle Database ID.List<DiscoveredCloudDbInstance>getDbInstances()The list of database instances.StringgetDbPacks()The database packs licensed for the cloud Oracle Database.DiscoveredCloudDatabase.DbRolegetDbRole()The role of the Oracle Database in Oracle Data Guard configuration.DatabaseSubTypegetDbType()The type of Oracle Database.StringgetDbUniqueName()The DB_UNIQUE_NAME of the cloud database.StringgetDbVersion()The Oracle Database version.BooleangetIsAutoEnablePluggableDatabase()Indicates whether Diagnostics & Management should be enabled automatically for all the pluggable databases in the container database.BooleangetIsCluster()Indicates whether the Oracle Database is part of a cluster.List<DiscoveredCloudPluggableDatabase>getPluggableDatabases()The list of Pluggable Databases.inthashCode()DiscoveredCloudDatabase.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.databasemanagement.model.DiscoveredCloudDbSystemComponentgetAssociatedComponents, getComponentId, getComponentName, getDbaasId, getDisplayName, getIsSelectedForMonitoring, getResourceId, getStatus
 
- 
 
- 
- 
- 
Constructor Detail- 
DiscoveredCloudDatabase@Deprecated public DiscoveredCloudDatabase(String componentId, String displayName, String componentName, String resourceId, String dbaasId, Boolean isSelectedForMonitoring, DiscoveredCloudDbSystemComponent.Status status, List<AssociatedCloudComponent> associatedComponents, String compartmentId, String dbUniqueName, DatabaseSubType dbType, Boolean isCluster, String dbEdition, String dbId, String dbPacks, DiscoveredCloudDatabase.DbRole dbRole, String dbVersion, List<DiscoveredCloudPluggableDatabase> pluggableDatabases, List<DiscoveredCloudDbInstance> dbInstances, Boolean canEnableAllCurrentPdbs, Boolean isAutoEnablePluggableDatabase, CloudDbSystemDiscoveryConnector connector) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DiscoveredCloudDatabase.Builder builder() Create a new builder.
 - 
toBuilderpublic DiscoveredCloudDatabase.Builder toBuilder() 
 - 
getDbUniqueNamepublic String getDbUniqueName() The DB_UNIQUE_NAME of the cloud database.- Returns:
- the value
 
 - 
getDbTypepublic DatabaseSubType getDbType() The type of Oracle Database.Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. - Returns:
- the value
 
 - 
getIsClusterpublic Boolean getIsCluster() Indicates whether the Oracle Database is part of a cluster.- Returns:
- the value
 
 - 
getDbEditionpublic String getDbEdition() The Oracle Database edition.- Returns:
- the value
 
 - 
getDbIdpublic String getDbId() The Oracle Database ID.- Returns:
- the value
 
 - 
getDbPackspublic String getDbPacks() The database packs licensed for the cloud Oracle Database.- Returns:
- the value
 
 - 
getDbRolepublic DiscoveredCloudDatabase.DbRole getDbRole() The role of the Oracle Database in Oracle Data Guard configuration.- Returns:
- the value
 
 - 
getDbVersionpublic String getDbVersion() The Oracle Database version.- Returns:
- the value
 
 - 
getPluggableDatabasespublic List<DiscoveredCloudPluggableDatabase> getPluggableDatabases() The list of Pluggable Databases.- Returns:
- the value
 
 - 
getDbInstancespublic List<DiscoveredCloudDbInstance> getDbInstances() The list of database instances.- Returns:
- the value
 
 - 
getCanEnableAllCurrentPdbspublic Boolean getCanEnableAllCurrentPdbs() Indicates whether Diagnostics & Management should be enabled for all the current pluggable databases in the container database.- Returns:
- the value
 
 - 
getIsAutoEnablePluggableDatabasepublic Boolean getIsAutoEnablePluggableDatabase() Indicates whether Diagnostics & Management should be enabled automatically for all the pluggable databases in the container database.- Returns:
- the value
 
 - 
getConnectorpublic CloudDbSystemDiscoveryConnector getConnector() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DiscoveredCloudDbSystemComponent
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- DiscoveredCloudDbSystemComponent
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- DiscoveredCloudDbSystemComponent
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DiscoveredCloudDbSystemComponent
 
 
- 
 
-