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 Details

    • GatewayResiliencyRecommendation

      public GatewayResiliencyRecommendation()
      Creates an instance of GatewayResiliencyRecommendation class.
  • Method Details

    • recommendationTitle

      public String recommendationTitle()
      Get the recommendationTitle property: Recommendation Title.
      Returns:
      the recommendationTitle value.
    • withRecommendationTitle

      public GatewayResiliencyRecommendation withRecommendationTitle(String recommendationTitle)
      Set the recommendationTitle property: Recommendation Title.
      Parameters:
      recommendationTitle - the recommendationTitle value to set.
      Returns:
      the GatewayResiliencyRecommendation object itself.
    • recommendationId

      public String recommendationId()
      Get the recommendationId property: Recommendation Id.
      Returns:
      the recommendationId value.
    • withRecommendationId

      public GatewayResiliencyRecommendation withRecommendationId(String recommendationId)
      Set the recommendationId property: Recommendation Id.
      Parameters:
      recommendationId - the recommendationId value to set.
      Returns:
      the GatewayResiliencyRecommendation object itself.
    • severity

      public String severity()
      Get the severity property: Impact associated with the recommendation.
      Returns:
      the severity value.
    • withSeverity

      public GatewayResiliencyRecommendation withSeverity(String severity)
      Set the severity property: Impact associated with the recommendation.
      Parameters:
      severity - the severity value to set.
      Returns:
      the GatewayResiliencyRecommendation object itself.
    • recommendationText

      public String recommendationText()
      Get the recommendationText property: Recommendation details.
      Returns:
      the recommendationText value.
    • withRecommendationText

      public GatewayResiliencyRecommendation withRecommendationText(String recommendationText)
      Set the recommendationText property: Recommendation details.
      Parameters:
      recommendationText - the recommendationText value to set.
      Returns:
      the GatewayResiliencyRecommendation object itself.
    • callToActionText

      public String callToActionText()
      Get the callToActionText property: Acton items to apply the recommendation.
      Returns:
      the callToActionText value.
    • withCallToActionText

      public GatewayResiliencyRecommendation withCallToActionText(String callToActionText)
      Set the callToActionText property: Acton items to apply the recommendation.
      Parameters:
      callToActionText - the callToActionText value to set.
      Returns:
      the GatewayResiliencyRecommendation object itself.
    • callToActionLink

      public String callToActionLink()
      Get the callToActionLink property: Link to the public documentation for the associated recommendation.
      Returns:
      the callToActionLink value.
    • withCallToActionLink

      public GatewayResiliencyRecommendation withCallToActionLink(String callToActionLink)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.