Class Recommendation.Builder
- java.lang.Object
-
- com.oracle.bmc.clusterhealth.model.Recommendation.Builder
-
- Enclosing class:
- Recommendation
public static class Recommendation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recommendation.Builderaction(String action)Optional action to take (empty string when no action is required).Recommendationbuild()Recommendation.Buildercopy(Recommendation model)Recommendation.BuilderfaultCode(String faultCode)Optional fault code identifier.Recommendation.Builderissue(String issue)description of the issueRecommendation.Buildersuggestion(String suggestion)suggested actionsRecommendation.BuildertestName(String testName)name of the testRecommendation.Buildertype(Recommendation.Type type)Severity of the recommendation.
-
-
-
Method Detail
-
type
public Recommendation.Builder type(Recommendation.Type type)
Severity of the recommendation.- Parameters:
type- the value to set- Returns:
- this builder
-
testName
public Recommendation.Builder testName(String testName)
name of the test- Parameters:
testName- the value to set- Returns:
- this builder
-
faultCode
public Recommendation.Builder faultCode(String faultCode)
Optional fault code identifier.- Parameters:
faultCode- the value to set- Returns:
- this builder
-
issue
public Recommendation.Builder issue(String issue)
description of the issue- Parameters:
issue- the value to set- Returns:
- this builder
-
suggestion
public Recommendation.Builder suggestion(String suggestion)
suggested actions- Parameters:
suggestion- the value to set- Returns:
- this builder
-
action
public Recommendation.Builder action(String action)
Optional action to take (empty string when no action is required).- Parameters:
action- the value to set- Returns:
- this builder
-
build
public Recommendation build()
-
copy
public Recommendation.Builder copy(Recommendation model)
-
-