ResiliencyRecommendationComponents Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ResiliencyRecommendationComponents
- com.
Implements
public final class ResiliencyRecommendationComponents
implements JsonSerializable<ResiliencyRecommendationComponents>
Gateway Resiliency based Recommendations.
Constructor Summary
| Constructor | Description |
|---|---|
| ResiliencyRecommendationComponents() |
Creates an instance of Resiliency |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
currentScore()
Get the current |
|
static
Resiliency |
fromJson(JsonReader jsonReader)
Reads an instance of Resiliency |
| String |
maxScore()
Get the max |
| String |
name()
Get the name property: Name of the Resiliency based Recommendation Component. |
|
List<Gateway |
recommendations()
Get the recommendations property: List of Gateway Resiliency based Recommendations. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resiliency |
withCurrentScore(String currentScore)
Set the current |
|
Resiliency |
withMaxScore(String maxScore)
Set the max |
|
Resiliency |
withName(String name)
Set the name property: Name of the Resiliency based Recommendation Component. |
|
Resiliency |
withRecommendations(List<GatewayResiliencyRecommendation> recommendations)
Set the recommendations property: List of Gateway Resiliency based Recommendations. |
Methods inherited from java.lang.Object
Constructor Details
ResiliencyRecommendationComponents
public ResiliencyRecommendationComponents()
Creates an instance of ResiliencyRecommendationComponents class.
Method Details
currentScore
public String currentScore()
Get the currentScore property: Current Score of the gateway.
Returns:
fromJson
public static ResiliencyRecommendationComponents fromJson(JsonReader jsonReader)
Reads an instance of ResiliencyRecommendationComponents from the JsonReader.
Parameters:
Returns:
Throws:
maxScore
public String maxScore()
Get the maxScore property: Max score that the gateway can achieve if the specified recommendation is applied.
Returns:
name
public String name()
Get the name property: Name of the Resiliency based Recommendation Component.
Returns:
recommendations
public List<GatewayResiliencyRecommendation> recommendations()
Get the recommendations property: List of Gateway Resiliency based Recommendations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCurrentScore
public ResiliencyRecommendationComponents withCurrentScore(String currentScore)
Set the currentScore property: Current Score of the gateway.
Parameters:
Returns:
withMaxScore
public ResiliencyRecommendationComponents withMaxScore(String maxScore)
Set the maxScore property: Max score that the gateway can achieve if the specified recommendation is applied.
Parameters:
Returns:
withName
public ResiliencyRecommendationComponents withName(String name)
Set the name property: Name of the Resiliency based Recommendation Component.
Parameters:
Returns:
withRecommendations
public ResiliencyRecommendationComponents withRecommendations(List<GatewayResiliencyRecommendation> recommendations)
Set the recommendations property: List of Gateway Resiliency based Recommendations.
Parameters:
Returns: