Class DiscoveredCloudDbSystemComponent
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.DiscoveredCloudDbSystemComponent
-
- Direct Known Subclasses:
DiscoveredCloudAsm,DiscoveredCloudAsmInstance,DiscoveredCloudCluster,DiscoveredCloudClusterInstance,DiscoveredCloudDatabase,DiscoveredCloudDbHome,DiscoveredCloudDbInstance,DiscoveredCloudDbNode,DiscoveredCloudListener,DiscoveredCloudPluggableDatabase
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class DiscoveredCloudDbSystemComponent extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details of a cloud 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 classDiscoveredCloudDbSystemComponent.StatusThe state of the discovered DB system component.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDiscoveredCloudDbSystemComponent(String componentId, String displayName, String componentName, String resourceId, String dbaasId, Boolean isSelectedForMonitoring, DiscoveredCloudDbSystemComponent.Status status, List<AssociatedCloudComponent> associatedComponents)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<AssociatedCloudComponent>getAssociatedComponents()The list of associated components.StringgetComponentId()The identifier of the discovered DB system component.StringgetComponentName()The name of the discovered DB system component.StringgetDbaasId()The OCID of the existing Dbaas OCI resource matching the discovered DB system component.StringgetDisplayName()The user-friendly name for the discovered DB system component.BooleangetIsSelectedForMonitoring()Indicates whether the DB system component should be provisioned as an OCI resource or not.StringgetResourceId()The OCID of the existing OCI resource matching the discovered DB system component.DiscoveredCloudDbSystemComponent.StatusgetStatus()The state of the discovered DB system component.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DiscoveredCloudDbSystemComponent
@Deprecated @ConstructorProperties({"componentId","displayName","componentName","resourceId","dbaasId","isSelectedForMonitoring","status","associatedComponents"}) protected DiscoveredCloudDbSystemComponent(String componentId, String displayName, String componentName, String resourceId, String dbaasId, Boolean isSelectedForMonitoring, DiscoveredCloudDbSystemComponent.Status status, List<AssociatedCloudComponent> 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
-
getDbaasId
public String getDbaasId()
The OCID of the existing Dbaas 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 DiscoveredCloudDbSystemComponent.Status getStatus()
The state of the discovered DB system component.- Returns:
- the value
-
getAssociatedComponents
public List<AssociatedCloudComponent> getAssociatedComponents()
The list of associated components.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-