PatchRouteFilterRule Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.PatchRouteFilterRule

public class PatchRouteFilterRule
extends com.microsoft.azure.SubResource

Route Filter Rule Resource.

Constructor Summary

Constructor Description
PatchRouteFilterRule()

Creates an instance of PatchRouteFilterRule class.

Method Summary

Modifier and Type Method and Description
Access access()

Get the access type of the rule.

java.util.List<java.lang.String> communities()

Get the collection for bgp community values to filter on.

java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

java.lang.String name()

Get the name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioning state of the route filter rule resource.

java.lang.String routeFilterRuleType()

Get the rule type of the rule.

PatchRouteFilterRule withAccess(Access access)

Set the access type of the rule.

PatchRouteFilterRule withCommunities(List<String> communities)

Set the collection for bgp community values to filter on.

PatchRouteFilterRule withRouteFilterRuleType(String routeFilterRuleType)

Set the rule type of the rule.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PatchRouteFilterRule

public PatchRouteFilterRule()

Creates an instance of PatchRouteFilterRule class.

Method Details

access

public Access access()

Get the access type of the rule. Possible values include: 'Allow', 'Deny'.

Returns:

the access value

communities

public List communities()

Get the collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].

Returns:

the communities value

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

name

public String name()

Get the name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the route filter rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

routeFilterRuleType

public String routeFilterRuleType()

Get the rule type of the rule.

Returns:

the routeFilterRuleType value

withAccess

public PatchRouteFilterRule withAccess(Access access)

Set the access type of the rule. Possible values include: 'Allow', 'Deny'.

Parameters:

access - the access value to set

Returns:

the PatchRouteFilterRule object itself.

withCommunities

public PatchRouteFilterRule withCommunities(List communities)

Set the collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].

Parameters:

communities - the communities value to set

Returns:

the PatchRouteFilterRule object itself.

withRouteFilterRuleType

public PatchRouteFilterRule withRouteFilterRuleType(String routeFilterRuleType)

Set the rule type of the rule.

Parameters:

routeFilterRuleType - the routeFilterRuleType value to set

Returns:

the PatchRouteFilterRule object itself.

Applies to