PatchRouteFilterRule Class
- java.
lang. Object - com.
microsoft. azure. SubResource - com.
microsoft. azure. management. network. PatchRouteFilterRule
- com.
- com.
public class PatchRouteFilterRule
extends com.microsoft.azure.SubResource
Route Filter Rule Resource.
Constructor Summary
Constructor | Description |
---|---|
PatchRouteFilterRule() |
Creates an instance of Patch |
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. |
Provisioning |
provisioningState()
Get the provisioning state of the route filter rule resource. |
java.lang.String |
routeFilterRuleType()
Get the rule type of the rule. |
Patch |
withAccess(Access access)
Set the access type of the rule. |
Patch |
withCommunities(List<String> communities)
Set the collection for bgp community values to filter on. |
Patch |
withRouteFilterRuleType(String routeFilterRuleType)
Set the rule type of the rule. |
Methods inherited from com.microsoft.azure.SubResource
Methods inherited from java.lang.Object
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:
communities
public List
Get the collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
Returns:
etag
public String etag()
Get a unique read-only string that changes whenever the resource is updated.
Returns:
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of the route filter rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:
routeFilterRuleType
public String routeFilterRuleType()
Get the rule type of the rule.
Returns:
withAccess
public PatchRouteFilterRule withAccess(Access access)
Set the access type of the rule. Possible values include: 'Allow', 'Deny'.
Parameters:
Returns:
withCommunities
public PatchRouteFilterRule withCommunities(List
Set the collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
Parameters:
Returns:
withRouteFilterRuleType
public PatchRouteFilterRule withRouteFilterRuleType(String routeFilterRuleType)
Set the rule type of the rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor