public class RouteFilterRuleInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
RouteFilterRuleInner() |
| Modifier and Type | Method and Description |
|---|---|
Access |
access()
Get the access property: The access type of the rule.
|
List<String> |
communities()
Get the communities property: The collection for bgp community values to filter on.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
location()
Get the location property: Resource location.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the route filter rule resource.
|
RouteFilterRuleType |
routeFilterRuleType()
Get the routeFilterRuleType property: The rule type of the rule.
|
void |
validate()
Validates the instance.
|
RouteFilterRuleInner |
withAccess(Access access)
Set the access property: The access type of the rule.
|
RouteFilterRuleInner |
withCommunities(List<String> communities)
Set the communities property: The collection for bgp community values to filter on.
|
RouteFilterRuleInner |
withLocation(String location)
Set the location property: Resource location.
|
RouteFilterRuleInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
RouteFilterRuleInner |
withRouteFilterRuleType(RouteFilterRuleType routeFilterRuleType)
Set the routeFilterRuleType property: The rule type of the rule.
|
public String name()
public RouteFilterRuleInner withName(String name)
name - the name value to set.public String location()
public RouteFilterRuleInner withLocation(String location)
location - the location value to set.public String etag()
public Access access()
public RouteFilterRuleInner withAccess(Access access)
access - the access value to set.public RouteFilterRuleType routeFilterRuleType()
public RouteFilterRuleInner withRouteFilterRuleType(RouteFilterRuleType routeFilterRuleType)
routeFilterRuleType - the routeFilterRuleType value to set.public List<String> communities()
public RouteFilterRuleInner withCommunities(List<String> communities)
communities - the communities value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.