@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class DiscoveredExternalDatabase extends DiscoveredExternalDbSystemComponent
The details of an external Oracle Database discovered in an external DB system discovery run.
Note: Objects should always be created or deserialized using the DiscoveredExternalDatabase.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 the DiscoveredExternalDatabase.Builder
, which maintain a
set of all explicitly set fields called DiscoveredExternalDatabase.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
DiscoveredExternalDatabase.Builder |
static class |
DiscoveredExternalDatabase.DbRole
The role of the Oracle Database in Oracle Data Guard configuration.
|
DiscoveredExternalDbSystemComponent.Status
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DiscoveredExternalDatabase(String componentId,
String displayName,
String componentName,
String resourceId,
Boolean isSelectedForMonitoring,
DiscoveredExternalDbSystemComponent.Status status,
List<AssociatedComponent> associatedComponents,
String compartmentId,
String dbUniqueName,
DatabaseSubType dbType,
Boolean isCluster,
String dbEdition,
String dbId,
String dbPacks,
DiscoveredExternalDatabase.DbRole dbRole,
String dbVersion,
List<DiscoveredExternalPluggableDatabase> pluggableDatabases,
ExternalDbSystemDiscoveryConnector connector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DiscoveredExternalDatabase.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment.
|
ExternalDbSystemDiscoveryConnector |
getConnector() |
String |
getDbEdition()
The Oracle Database edition.
|
String |
getDbId()
The Oracle Database ID.
|
String |
getDbPacks()
The database packs licensed for the external Oracle Database.
|
DiscoveredExternalDatabase.DbRole |
getDbRole()
The role of the Oracle Database in Oracle Data Guard configuration.
|
DatabaseSubType |
getDbType()
The type of Oracle Database.
|
String |
getDbUniqueName()
The
DB_UNIQUE_NAME of the external database. |
String |
getDbVersion()
The Oracle Database version.
|
Boolean |
getIsCluster()
Indicates whether the Oracle Database is part of a cluster.
|
List<DiscoveredExternalPluggableDatabase> |
getPluggableDatabases()
The list of Pluggable Databases.
|
int |
hashCode() |
DiscoveredExternalDatabase.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAssociatedComponents, getComponentId, getComponentName, getDisplayName, getIsSelectedForMonitoring, getResourceId, getStatus
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public DiscoveredExternalDatabase(String componentId, String displayName, String componentName, String resourceId, Boolean isSelectedForMonitoring, DiscoveredExternalDbSystemComponent.Status status, List<AssociatedComponent> associatedComponents, String compartmentId, String dbUniqueName, DatabaseSubType dbType, Boolean isCluster, String dbEdition, String dbId, String dbPacks, DiscoveredExternalDatabase.DbRole dbRole, String dbVersion, List<DiscoveredExternalPluggableDatabase> pluggableDatabases, ExternalDbSystemDiscoveryConnector connector)
public static DiscoveredExternalDatabase.Builder builder()
Create a new builder.
public DiscoveredExternalDatabase.Builder toBuilder()
public String getDbUniqueName()
The DB_UNIQUE_NAME
of the external database.
public DatabaseSubType getDbType()
The type of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
public Boolean getIsCluster()
Indicates whether the Oracle Database is part of a cluster.
public String getDbEdition()
The Oracle Database edition.
public String getDbId()
The Oracle Database ID.
public String getDbPacks()
The database packs licensed for the external Oracle Database.
public DiscoveredExternalDatabase.DbRole getDbRole()
The role of the Oracle Database in Oracle Data Guard configuration.
public String getDbVersion()
The Oracle Database version.
public List<DiscoveredExternalPluggableDatabase> getPluggableDatabases()
The list of Pluggable Databases.
public ExternalDbSystemDiscoveryConnector getConnector()
public String toString()
toString
in class DiscoveredExternalDbSystemComponent
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DiscoveredExternalDbSystemComponent
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DiscoveredExternalDbSystemComponent
public int hashCode()
hashCode
in class DiscoveredExternalDbSystemComponent
Copyright © 2016–2024. All rights reserved.