Class GatewayResiliencyRecommendation
java.lang.Object
com.azure.resourcemanager.network.models.GatewayResiliencyRecommendation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<GatewayResiliencyRecommendation>
public final class GatewayResiliencyRecommendation
extends Object
implements com.azure.json.JsonSerializable<GatewayResiliencyRecommendation>
Resiliency Recommendation details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GatewayResiliencyRecommendation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the callToActionLink property: Link to the public documentation for the associated recommendation.Get the callToActionText property: Acton items to apply the recommendation.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GatewayResiliencyRecommendation from the JsonReader.Get the recommendationId property: Recommendation Id.Get the recommendationText property: Recommendation details.Get the recommendationTitle property: Recommendation Title.severity()Get the severity property: Impact associated with the recommendation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCallToActionLink(String callToActionLink) Set the callToActionLink property: Link to the public documentation for the associated recommendation.withCallToActionText(String callToActionText) Set the callToActionText property: Acton items to apply the recommendation.withRecommendationId(String recommendationId) Set the recommendationId property: Recommendation Id.withRecommendationText(String recommendationText) Set the recommendationText property: Recommendation details.withRecommendationTitle(String recommendationTitle) Set the recommendationTitle property: Recommendation Title.withSeverity(String severity) Set the severity property: Impact associated with the recommendation.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
GatewayResiliencyRecommendation
public GatewayResiliencyRecommendation()Creates an instance of GatewayResiliencyRecommendation class.
-
-
Method Details
-
recommendationTitle
Get the recommendationTitle property: Recommendation Title.- Returns:
- the recommendationTitle value.
-
withRecommendationTitle
Set the recommendationTitle property: Recommendation Title.- Parameters:
recommendationTitle- the recommendationTitle value to set.- Returns:
- the GatewayResiliencyRecommendation object itself.
-
recommendationId
Get the recommendationId property: Recommendation Id.- Returns:
- the recommendationId value.
-
withRecommendationId
Set the recommendationId property: Recommendation Id.- Parameters:
recommendationId- the recommendationId value to set.- Returns:
- the GatewayResiliencyRecommendation object itself.
-
severity
Get the severity property: Impact associated with the recommendation.- Returns:
- the severity value.
-
withSeverity
Set the severity property: Impact associated with the recommendation.- Parameters:
severity- the severity value to set.- Returns:
- the GatewayResiliencyRecommendation object itself.
-
recommendationText
Get the recommendationText property: Recommendation details.- Returns:
- the recommendationText value.
-
withRecommendationText
Set the recommendationText property: Recommendation details.- Parameters:
recommendationText- the recommendationText value to set.- Returns:
- the GatewayResiliencyRecommendation object itself.
-
callToActionText
Get the callToActionText property: Acton items to apply the recommendation.- Returns:
- the callToActionText value.
-
withCallToActionText
Set the callToActionText property: Acton items to apply the recommendation.- Parameters:
callToActionText- the callToActionText value to set.- Returns:
- the GatewayResiliencyRecommendation object itself.
-
callToActionLink
Get the callToActionLink property: Link to the public documentation for the associated recommendation.- Returns:
- the callToActionLink value.
-
withCallToActionLink
Set the callToActionLink property: Link to the public documentation for the associated recommendation.- Parameters:
callToActionLink- the callToActionLink value to set.- Returns:
- the GatewayResiliencyRecommendation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<GatewayResiliencyRecommendation>- Throws:
IOException
-
fromJson
public static GatewayResiliencyRecommendation fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GatewayResiliencyRecommendation from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of GatewayResiliencyRecommendation 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 GatewayResiliencyRecommendation.
-