RecommendationSolution Class

  • java.lang.Object
    • com.azure.resourcemanager.appcomplianceautomation.models.RecommendationSolution

Implements

public final class RecommendationSolution
implements JsonSerializable<RecommendationSolution>

A class represent the recommendation solution.

Method Summary

Modifier and Type Method and Description
static RecommendationSolution fromJson(JsonReader jsonReader)

Reads an instance of RecommendationSolution from the JsonReader.

IsRecommendSolution isRecommendSolution()

Get the isRecommendSolution property: Indicates whether this solution is the recommended.

String recommendationSolutionContent()

Get the recommendationSolutionContent property: The detail steps of the recommendation solution.

String recommendationSolutionIndex()

Get the recommendationSolutionIndex property: The index of the recommendation solution.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static RecommendationSolution fromJson(JsonReader jsonReader)

Reads an instance of RecommendationSolution from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RecommendationSolution if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RecommendationSolution.

isRecommendSolution

public IsRecommendSolution isRecommendSolution()

Get the isRecommendSolution property: Indicates whether this solution is the recommended.

Returns:

the isRecommendSolution value.

recommendationSolutionContent

public String recommendationSolutionContent()

Get the recommendationSolutionContent property: The detail steps of the recommendation solution.

Returns:

the recommendationSolutionContent value.

recommendationSolutionIndex

public String recommendationSolutionIndex()

Get the recommendationSolutionIndex property: The index of the recommendation solution.

Returns:

the recommendationSolutionIndex value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to