Class Recommendation
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.clusterhealth.model.Recommendation
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260331") public final class Recommendation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelrecommendation
Note: Objects should always be created or deserialized using theRecommendation.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
Recommendation.Builder, which maintain a set of all explicitly set fields calledRecommendation.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 classRecommendation.Builderstatic classRecommendation.TypeSeverity of the recommendation.
-
Constructor Summary
Constructors Constructor Description Recommendation(Recommendation.Type type, String testName, String faultCode, String issue, String suggestion, String action)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Recommendation.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAction()Optional action to take (empty string when no action is required).StringgetFaultCode()Optional fault code identifier.StringgetIssue()description of the issueStringgetSuggestion()suggested actionsStringgetTestName()name of the testRecommendation.TypegetType()Severity of the recommendation.inthashCode()Recommendation.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Recommendation
@Deprecated @ConstructorProperties({"type","testName","faultCode","issue","suggestion","action"}) public Recommendation(Recommendation.Type type, String testName, String faultCode, String issue, String suggestion, String action)
Deprecated.
-
-
Method Detail
-
builder
public static Recommendation.Builder builder()
Create a new builder.
-
toBuilder
public Recommendation.Builder toBuilder()
-
getType
public Recommendation.Type getType()
Severity of the recommendation.- Returns:
- the value
-
getTestName
public String getTestName()
name of the test- Returns:
- the value
-
getFaultCode
public String getFaultCode()
Optional fault code identifier.- Returns:
- the value
-
getIssue
public String getIssue()
description of the issue- Returns:
- the value
-
getSuggestion
public String getSuggestion()
suggested actions- Returns:
- the value
-
getAction
public String getAction()
Optional action to take (empty string when no action is required).- 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
-
-