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.ExplicitlySetBmcModelDiagnosis 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 SummaryNested Classes Modifier and Type Class Description static classFleetDiagnosisSummary.Builderstatic classFleetDiagnosisSummary.ResourceStateThe state of the resource.static classFleetDiagnosisSummary.ResourceTypeThe type of the resource needed by the fleet.
 - 
Constructor SummaryConstructors Constructor Description FleetDiagnosisSummary(FleetDiagnosisSummary.ResourceType resourceType, String resourceId, FleetDiagnosisSummary.ResourceState resourceState, String resourceDiagnosis)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetDiagnosisSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetResourceDiagnosis()The diagnosis message.StringgetResourceId()The OCID of the external resouce needed by the fleet.FleetDiagnosisSummary.ResourceStategetResourceState()The state of the resource.FleetDiagnosisSummary.ResourceTypegetResourceType()The type of the resource needed by the fleet.inthashCode()FleetDiagnosisSummary.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static FleetDiagnosisSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic FleetDiagnosisSummary.Builder toBuilder() 
 - 
getResourceTypepublic 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
 
 - 
getResourceIdpublic String getResourceId() The OCID of the external resouce needed by the fleet.- Returns:
- the value
 
 - 
getResourceStatepublic 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
 
 - 
getResourceDiagnosispublic String getResourceDiagnosis() The diagnosis message.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-