Class DiscoveredExternalDbSystemComponent
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.DiscoveredExternalDbSystemComponent
-
- Direct Known Subclasses:
DiscoveredExternalAsm
,DiscoveredExternalAsmInstance
,DiscoveredExternalCluster
,DiscoveredExternalClusterInstance
,DiscoveredExternalDatabase
,DiscoveredExternalDbHome
,DiscoveredExternalDbNode
,DiscoveredExternalListener
,DiscoveredExternalPluggableDatabase
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class DiscoveredExternalDbSystemComponent extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of an external DB system component.
Note: Objects should always be created or deserialized using theBuilder
. 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 theBuilder
, which maintain a set of all explicitly set fields calledBuilder#__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 Summary
Nested Classes Modifier and Type Class Description static class
DiscoveredExternalDbSystemComponent.Status
The state of the discovered DB system component.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DiscoveredExternalDbSystemComponent(String componentId, String displayName, String componentName, String resourceId, Boolean isSelectedForMonitoring, DiscoveredExternalDbSystemComponent.Status status, List<AssociatedComponent> associatedComponents)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<AssociatedComponent>
getAssociatedComponents()
The list of associated components.String
getComponentId()
The identifier of the discovered DB system component.String
getComponentName()
The name of the discovered DB system component.String
getDisplayName()
The user-friendly name for the discovered DB system component.Boolean
getIsSelectedForMonitoring()
Indicates whether the DB system component should be provisioned as an OCI resource or not.String
getResourceId()
The OCID of the existing OCI resource matching the discovered DB system component.DiscoveredExternalDbSystemComponent.Status
getStatus()
The state of the discovered DB system component.int
hashCode()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DiscoveredExternalDbSystemComponent
@Deprecated @ConstructorProperties({"componentId","displayName","componentName","resourceId","isSelectedForMonitoring","status","associatedComponents"}) protected DiscoveredExternalDbSystemComponent(String componentId, String displayName, String componentName, String resourceId, Boolean isSelectedForMonitoring, DiscoveredExternalDbSystemComponent.Status status, List<AssociatedComponent> associatedComponents)
Deprecated.
-
-
Method Detail
-
getComponentId
public String getComponentId()
The identifier of the discovered DB system component.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The user-friendly name for the discovered DB system component.The name does not have to be unique.
- Returns:
- the value
-
getComponentName
public String getComponentName()
The name of the discovered DB system component.- Returns:
- the value
-
getResourceId
public String getResourceId()
The OCID of the existing OCI resource matching the discovered DB system component.- Returns:
- the value
-
getIsSelectedForMonitoring
public Boolean getIsSelectedForMonitoring()
Indicates whether the DB system component should be provisioned as an OCI resource or not.- Returns:
- the value
-
getStatus
public DiscoveredExternalDbSystemComponent.Status getStatus()
The state of the discovered DB system component.- Returns:
- the value
-
getAssociatedComponents
public List<AssociatedComponent> getAssociatedComponents()
The list of associated components.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-