@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class DiscoveredExternalClusterInstance extends DiscoveredExternalDbSystemComponent
The details of an external cluster instance discovered in an external DB system discovery run.
Note: Objects should always be created or deserialized using the DiscoveredExternalClusterInstance.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 DiscoveredExternalClusterInstance.Builder
, which maintain a
set of all explicitly set fields called DiscoveredExternalClusterInstance.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 |
DiscoveredExternalClusterInstance.Builder |
static class |
DiscoveredExternalClusterInstance.NodeRole
The role of the cluster node.
|
DiscoveredExternalDbSystemComponent.Status
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DiscoveredExternalClusterInstance(String componentId,
String displayName,
String componentName,
String resourceId,
Boolean isSelectedForMonitoring,
DiscoveredExternalDbSystemComponent.Status status,
List<AssociatedComponent> associatedComponents,
String hostName,
String clusterId,
DiscoveredExternalClusterInstance.NodeRole nodeRole,
String crsBaseDirectory,
String adrHomeDirectory,
ExternalDbSystemDiscoveryConnector connector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DiscoveredExternalClusterInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAdrHomeDirectory()
The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.
|
String |
getClusterId()
The unique identifier of the Oracle cluster.
|
ExternalDbSystemDiscoveryConnector |
getConnector() |
String |
getCrsBaseDirectory()
The Oracle base location of Cluster Ready Services (CRS).
|
String |
getHostName()
The name of the host on which the cluster instance is running.
|
DiscoveredExternalClusterInstance.NodeRole |
getNodeRole()
The role of the cluster node.
|
int |
hashCode() |
DiscoveredExternalClusterInstance.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 DiscoveredExternalClusterInstance(String componentId, String displayName, String componentName, String resourceId, Boolean isSelectedForMonitoring, DiscoveredExternalDbSystemComponent.Status status, List<AssociatedComponent> associatedComponents, String hostName, String clusterId, DiscoveredExternalClusterInstance.NodeRole nodeRole, String crsBaseDirectory, String adrHomeDirectory, ExternalDbSystemDiscoveryConnector connector)
public static DiscoveredExternalClusterInstance.Builder builder()
Create a new builder.
public DiscoveredExternalClusterInstance.Builder toBuilder()
public String getHostName()
The name of the host on which the cluster instance is running.
public String getClusterId()
The unique identifier of the Oracle cluster.
public DiscoveredExternalClusterInstance.NodeRole getNodeRole()
The role of the cluster node.
public String getCrsBaseDirectory()
The Oracle base location of Cluster Ready Services (CRS).
public String getAdrHomeDirectory()
The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.
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.