Class GatewayRouteSetsInformationInner

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

public final class GatewayRouteSetsInformationInner extends Object implements com.azure.json.JsonSerializable<GatewayRouteSetsInformationInner>
Gateway Route Sets Information.
  • Constructor Details

    • GatewayRouteSetsInformationInner

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

    • lastComputedTime

      public OffsetDateTime lastComputedTime()
      Get the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the gateway.
      Returns:
      the lastComputedTime value.
    • withLastComputedTime

      public GatewayRouteSetsInformationInner withLastComputedTime(OffsetDateTime lastComputedTime)
      Set the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the gateway.
      Parameters:
      lastComputedTime - the lastComputedTime value to set.
      Returns:
      the GatewayRouteSetsInformationInner object itself.
    • nextEligibleComputeTime

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

      public GatewayRouteSetsInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime)
      Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets for the gateway.
      Parameters:
      nextEligibleComputeTime - the nextEligibleComputeTime value to set.
      Returns:
      the GatewayRouteSetsInformationInner object itself.
    • routeSetVersion

      public String routeSetVersion()
      Get the routeSetVersion property: Version for the route set.
      Returns:
      the routeSetVersion value.
    • withRouteSetVersion

      public GatewayRouteSetsInformationInner withRouteSetVersion(String routeSetVersion)
      Set the routeSetVersion property: Version for the route set.
      Parameters:
      routeSetVersion - the routeSetVersion value to set.
      Returns:
      the GatewayRouteSetsInformationInner object itself.
    • routeSets

      public List<GatewayRouteSet> routeSets()
      Get the routeSets property: List of Gateway Route Sets.
      Returns:
      the routeSets value.
    • withRouteSets

      public GatewayRouteSetsInformationInner withRouteSets(List<GatewayRouteSet> routeSets)
      Set the routeSets property: List of Gateway Route Sets.
      Parameters:
      routeSets - the routeSets value to set.
      Returns:
      the GatewayRouteSetsInformationInner object itself.
    • circuitsMetadataMap

      public Map<String,CircuitMetadataMap> circuitsMetadataMap()
      Get the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details.
      Returns:
      the circuitsMetadataMap value.
    • withCircuitsMetadataMap

      public GatewayRouteSetsInformationInner withCircuitsMetadataMap(Map<String,CircuitMetadataMap> circuitsMetadataMap)
      Set the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details.
      Parameters:
      circuitsMetadataMap - the circuitsMetadataMap value to set.
      Returns:
      the GatewayRouteSetsInformationInner 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<GatewayRouteSetsInformationInner>
      Throws:
      IOException
    • fromJson

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