@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
).
Modifier and Type | Class and 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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
FleetDiagnosisSummary(FleetDiagnosisSummary.ResourceType resourceType,
String resourceId,
FleetDiagnosisSummary.ResourceState resourceState,
String resourceDiagnosis)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"resourceType","resourceId","resourceState","resourceDiagnosis"}) public FleetDiagnosisSummary(FleetDiagnosisSummary.ResourceType resourceType, String resourceId, FleetDiagnosisSummary.ResourceState resourceState, String resourceDiagnosis)
public static FleetDiagnosisSummary.Builder builder()
Create a new builder.
public FleetDiagnosisSummary.Builder toBuilder()
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.
public String getResourceId()
The OCID of the external resouce needed by the fleet.
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.
public String getResourceDiagnosis()
The diagnosis message.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.