Recommendation Class

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

Implements

public final class Recommendation
implements JsonSerializable<Recommendation>

A class represent the recommendation.

Method Summary

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

Reads an instance of Recommendation from the JsonReader.

String recommendationId()

Get the recommendationId property: The Id of the recommendation.

String recommendationShortName()

Get the recommendationShortName property: The short name of the recommendation.

List<RecommendationSolution> recommendationSolutions()

Get the recommendationSolutions property: List of recommendation solutions.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static Recommendation fromJson(JsonReader jsonReader)

Reads an instance of Recommendation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Recommendation 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 Recommendation.

recommendationId

public String recommendationId()

Get the recommendationId property: The Id of the recommendation.

Returns:

the recommendationId value.

recommendationShortName

public String recommendationShortName()

Get the recommendationShortName property: The short name of the recommendation. e.g. "Invalid TLS config".

Returns:

the recommendationShortName value.

recommendationSolutions

public List<RecommendationSolution> recommendationSolutions()

Get the recommendationSolutions property: List of recommendation solutions.

Returns:

the recommendationSolutions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to