Interface RouteFilterRule.UpdateStages.WithBgpCommunities
- All Known Subinterfaces:
RouteFilterRule.Update
- Enclosing interface:
RouteFilterRule.UpdateStages
public static interface RouteFilterRule.UpdateStages.WithBgpCommunities
The stage of the route filter rule description allowing bgp service communities to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionwithBgpCommunities(String... communities) The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].withBgpCommunity(String community) The bgp community values to filter on. e.g. '12076:5010'.withoutBgpCommunity(String community) Remove the bgp community value to filter on. e.g. '12076:5010'
-
Method Details
-
withBgpCommunities
The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. Note: this method will overwrite existing communities.- Parameters:
communities- service communities- Returns:
- the next stage of the update
-
withBgpCommunity
The bgp community values to filter on. e.g. '12076:5010'. This method has additive effect.- Parameters:
community- the bgp community value- Returns:
- the next stage of the update
-
withoutBgpCommunity
Remove the bgp community value to filter on. e.g. '12076:5010'- Parameters:
community- the bgp community value- Returns:
- the next stage of the update
-