Class FleetDiagnosisSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210610")
    public final class FleetDiagnosisSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Diagnosis of a resource needed by the fleet.
    Note: Objects should always be created or deserialized using the FleetDiagnosisSummary.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 FleetDiagnosisSummary.Builder, which maintain a set of all explicitly set fields called FleetDiagnosisSummary.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).
    • Method Detail

      • getResourceType

        public FleetDiagnosisSummary.ResourceType getResourceType()
        The type of the resource needed by the fleet.

        This is the role of a resource in the fleet. Use the OCID to determine the actual OCI resource type such as log group or log.

        Returns:
        the value
      • getResourceId

        public String getResourceId()
        The OCID of the external resouce needed by the fleet.
        Returns:
        the value
      • getResourceState

        public FleetDiagnosisSummary.ResourceState getResourceState()
        The state of the resource.

        The resource state is ACTIVE when it works properly for the fleet. In case it would cause an issue for the fleet function, the state is INACTIVE. When JMS can’t locate the resource, the state is NOT_FOUND. OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the resource. Check the resourceDiagnosis for details.

        Returns:
        the value
      • getResourceDiagnosis

        public String getResourceDiagnosis()
        The diagnosis message.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel