Class RouteFilterRulePropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.RouteFilterRulePropertiesFormat
Route Filter Rule Resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RouteFilterRulePropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionaccess()Get the access property: The access type of the rule.Get the communities property: The collection for bgp community values to filter on.Get the provisioningState property: The provisioning state of the route filter rule resource.Get the routeFilterRuleType property: The rule type of the rule.voidvalidate()Validates the instance.withAccess(Access access) Set the access property: The access type of the rule.withCommunities(List<String> communities) Set the communities property: The collection for bgp community values to filter on.withRouteFilterRuleType(RouteFilterRuleType routeFilterRuleType) Set the routeFilterRuleType property: The rule type of the rule.
-
Constructor Details
-
RouteFilterRulePropertiesFormat
public RouteFilterRulePropertiesFormat()Creates an instance of RouteFilterRulePropertiesFormat class.
-
-
Method Details
-
access
Get the access property: The access type of the rule.- Returns:
- the access value.
-
withAccess
Set the access property: The access type of the rule.- Parameters:
access- the access value to set.- Returns:
- the RouteFilterRulePropertiesFormat object itself.
-
routeFilterRuleType
Get the routeFilterRuleType property: The rule type of the rule.- Returns:
- the routeFilterRuleType value.
-
withRouteFilterRuleType
public RouteFilterRulePropertiesFormat withRouteFilterRuleType(RouteFilterRuleType routeFilterRuleType) Set the routeFilterRuleType property: The rule type of the rule.- Parameters:
routeFilterRuleType- the routeFilterRuleType value to set.- Returns:
- the RouteFilterRulePropertiesFormat object itself.
-
communities
Get the communities property: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].- Returns:
- the communities value.
-
withCommunities
Set the communities property: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].- Parameters:
communities- the communities value to set.- Returns:
- the RouteFilterRulePropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the route filter rule resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-