ResiliencyRecommendationComponents Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ResiliencyRecommendationComponents

Implements

public final class ResiliencyRecommendationComponents
implements JsonSerializable<ResiliencyRecommendationComponents>

Gateway Resiliency based Recommendations.

Method Summary

Modifier and Type Method and Description
String currentScore()

Get the currentScore property: Current Score of the gateway.

static ResiliencyRecommendationComponents fromJson(JsonReader jsonReader)

Reads an instance of ResiliencyRecommendationComponents from the JsonReader.

String maxScore()

Get the maxScore property: Max score that the gateway can achieve if the specified recommendation is applied.

String name()

Get the name property: Name of the Resiliency based Recommendation Component.

List<GatewayResiliencyRecommendation> recommendations()

Get the recommendations property: List of Gateway Resiliency based Recommendations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentScore

public String currentScore()

Get the currentScore property: Current Score of the gateway.

Returns:

the currentScore value.

fromJson

public static ResiliencyRecommendationComponents fromJson(JsonReader jsonReader)

Reads an instance of ResiliencyRecommendationComponents from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

maxScore

public String maxScore()

Get the maxScore property: Max score that the gateway can achieve if the specified recommendation is applied.

Returns:

the maxScore value.

name

public String name()

Get the name property: Name of the Resiliency based Recommendation Component.

Returns:

the name value.

recommendations

public List<GatewayResiliencyRecommendation> recommendations()

Get the recommendations property: List of Gateway Resiliency based Recommendations.

Returns:

the recommendations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to