Class GatewayResiliencyInformationInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.GatewayResiliencyInformationInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<GatewayResiliencyInformationInner>

public final class GatewayResiliencyInformationInner extends Object implements com.azure.json.JsonSerializable<GatewayResiliencyInformationInner>
Gateway Resiliency Information.
  • Constructor Details

    • GatewayResiliencyInformationInner

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

    • overallScore

      public String overallScore()
      Get the overallScore property: Current Resiliency Score for the gateway.
      Returns:
      the overallScore value.
    • withOverallScore

      public GatewayResiliencyInformationInner withOverallScore(String overallScore)
      Set the overallScore property: Current Resiliency Score for the gateway.
      Parameters:
      overallScore - the overallScore value to set.
      Returns:
      the GatewayResiliencyInformationInner object itself.
    • scoreChange

      public String scoreChange()
      Get the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.
      Returns:
      the scoreChange value.
    • withScoreChange

      public GatewayResiliencyInformationInner withScoreChange(String scoreChange)
      Set the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.
      Parameters:
      scoreChange - the scoreChange value to set.
      Returns:
      the GatewayResiliencyInformationInner object itself.
    • minScoreFromRecommendations

      public String minScoreFromRecommendations()
      Get the minScoreFromRecommendations property: Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway.
      Returns:
      the minScoreFromRecommendations value.
    • withMinScoreFromRecommendations

      public GatewayResiliencyInformationInner withMinScoreFromRecommendations(String minScoreFromRecommendations)
      Set the minScoreFromRecommendations property: Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway.
      Parameters:
      minScoreFromRecommendations - the minScoreFromRecommendations value to set.
      Returns:
      the GatewayResiliencyInformationInner object itself.
    • maxScoreFromRecommendations

      public String maxScoreFromRecommendations()
      Get the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the recommendations are applied for the gateway.
      Returns:
      the maxScoreFromRecommendations value.
    • withMaxScoreFromRecommendations

      public GatewayResiliencyInformationInner withMaxScoreFromRecommendations(String maxScoreFromRecommendations)
      Set the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the recommendations are applied for the gateway.
      Parameters:
      maxScoreFromRecommendations - the maxScoreFromRecommendations value to set.
      Returns:
      the GatewayResiliencyInformationInner object itself.
    • lastComputedTime

      public OffsetDateTime lastComputedTime()
      Get the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.
      Returns:
      the lastComputedTime value.
    • withLastComputedTime

      public GatewayResiliencyInformationInner withLastComputedTime(OffsetDateTime lastComputedTime)
      Set the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.
      Parameters:
      lastComputedTime - the lastComputedTime value to set.
      Returns:
      the GatewayResiliencyInformationInner object itself.
    • nextEligibleComputeTime

      public OffsetDateTime nextEligibleComputeTime()
      Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.
      Returns:
      the nextEligibleComputeTime value.
    • withNextEligibleComputeTime

      public GatewayResiliencyInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime)
      Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.
      Parameters:
      nextEligibleComputeTime - the nextEligibleComputeTime value to set.
      Returns:
      the GatewayResiliencyInformationInner object itself.
    • components

      Get the components property: List of Resiliency based Recommendation Components for the gateway.
      Returns:
      the components value.
    • withComponents

      Set the components property: List of Resiliency based Recommendation Components for the gateway.
      Parameters:
      components - the components value to set.
      Returns:
      the GatewayResiliencyInformationInner 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<GatewayResiliencyInformationInner>
      Throws:
      IOException
    • fromJson

      public static GatewayResiliencyInformationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GatewayResiliencyInformationInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GatewayResiliencyInformationInner 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 GatewayResiliencyInformationInner.