Class RouteFilterPropertiesFormat

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

public final class RouteFilterPropertiesFormat extends Object implements com.azure.json.JsonSerializable<RouteFilterPropertiesFormat>
Route Filter Resource.
  • Constructor Details

    • RouteFilterPropertiesFormat

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

    • rules

      public List<RouteFilterRuleInner> rules()
      Get the rules property: Collection of RouteFilterRules contained within a route filter.
      Returns:
      the rules value.
    • withRules

      Set the rules property: Collection of RouteFilterRules contained within a route filter.
      Parameters:
      rules - the rules value to set.
      Returns:
      the RouteFilterPropertiesFormat object itself.
    • peerings

      Get the peerings property: A collection of references to express route circuit peerings.
      Returns:
      the peerings value.
    • ipv6Peerings

      public List<ExpressRouteCircuitPeeringInner> ipv6Peerings()
      Get the ipv6Peerings property: A collection of references to express route circuit ipv6 peerings.
      Returns:
      the ipv6Peerings value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the route filter resource.
      Returns:
      the provisioningState value.
    • 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<RouteFilterPropertiesFormat>
      Throws:
      IOException
    • fromJson

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