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 Summary
ConstructorsConstructorDescriptionCreates an instance of RouteFilterPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteFilterPropertiesFormatfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RouteFilterPropertiesFormat from the JsonReader.Get the ipv6Peerings property: A collection of references to express route circuit ipv6 peerings.peerings()Get the peerings property: A collection of references to express route circuit peerings.Get the provisioningState property: The provisioning state of the route filter resource.rules()Get the rules property: Collection of RouteFilterRules contained within a route filter.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withRules(List<RouteFilterRuleInner> rules) Set the rules property: Collection of RouteFilterRules contained within a route filter.Methods inherited from class java.lang.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
-
RouteFilterPropertiesFormat
public RouteFilterPropertiesFormat()Creates an instance of RouteFilterPropertiesFormat class.
-
-
Method Details
-
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
Get the ipv6Peerings property: A collection of references to express route circuit ipv6 peerings.- Returns:
- the ipv6Peerings value.
-
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
- Specified by:
toJsonin interfacecom.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.
-