Package com.oracle.bmc.jms.model
Class FleetDiagnosisSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.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 theFleetDiagnosisSummary.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 theFleetDiagnosisSummary.Builder
, which maintain a set of all explicitly set fields calledFleetDiagnosisSummary.Builder.__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
FleetDiagnosisSummary.Builder
static class
FleetDiagnosisSummary.ResourceState
The state of the resource.static class
FleetDiagnosisSummary.ResourceType
The type of the resource needed by the fleet.
-
Constructor Summary
Constructors Constructor Description FleetDiagnosisSummary(FleetDiagnosisSummary.ResourceType resourceType, String resourceId, FleetDiagnosisSummary.ResourceState resourceState, String resourceDiagnosis)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetDiagnosisSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getResourceDiagnosis()
The diagnosis message.String
getResourceId()
The OCID of the external resouce needed by the fleet.FleetDiagnosisSummary.ResourceState
getResourceState()
The state of the resource.FleetDiagnosisSummary.ResourceType
getResourceType()
The type of the resource needed by the fleet.int
hashCode()
FleetDiagnosisSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
FleetDiagnosisSummary
@Deprecated @ConstructorProperties({"resourceType","resourceId","resourceState","resourceDiagnosis"}) public FleetDiagnosisSummary(FleetDiagnosisSummary.ResourceType resourceType, String resourceId, FleetDiagnosisSummary.ResourceState resourceState, String resourceDiagnosis)
Deprecated.
-
-
Method Detail
-
builder
public static FleetDiagnosisSummary.Builder builder()
Create a new builder.
-
toBuilder
public FleetDiagnosisSummary.Builder toBuilder()
-
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 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
-
-