Class BGPCommunity
java.lang.Object
com.microsoft.azure.management.network.BGPCommunity
Contains bgp community information offered in Service Community resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the bgp community.Get the prefixes that the bgp community contains.Get the value of the bgp community.Get customer is authorized to use bgp community or not.Get the service group of the bgp community contains.Get the region which the service support.withCommunityName
(String communityName) Set the name of the bgp community.withCommunityPrefixes
(List<String> communityPrefixes) Set the prefixes that the bgp community contains.withCommunityValue
(String communityValue) Set the value of the bgp community.withIsAuthorizedToUse
(Boolean isAuthorizedToUse) Set customer is authorized to use bgp community or not.withServiceGroup
(String serviceGroup) Set the service group of the bgp community contains.withServiceSupportedRegion
(String serviceSupportedRegion) Set the region which the service support.
-
Constructor Details
-
BGPCommunity
public BGPCommunity()
-
-
Method Details
-
serviceSupportedRegion
Get the region which the service support. e.g. For O365, region is Global.- Returns:
- the serviceSupportedRegion value
-
withServiceSupportedRegion
Set the region which the service support. e.g. For O365, region is Global.- Parameters:
serviceSupportedRegion
- the serviceSupportedRegion value to set- Returns:
- the BGPCommunity object itself.
-
communityName
Get the name of the bgp community. e.g. Skype.- Returns:
- the communityName value
-
withCommunityName
Set the name of the bgp community. e.g. Skype.- Parameters:
communityName
- the communityName value to set- Returns:
- the BGPCommunity object itself.
-
communityValue
Get the value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.- Returns:
- the communityValue value
-
withCommunityValue
Set the value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.- Parameters:
communityValue
- the communityValue value to set- Returns:
- the BGPCommunity object itself.
-
communityPrefixes
Get the prefixes that the bgp community contains.- Returns:
- the communityPrefixes value
-
withCommunityPrefixes
Set the prefixes that the bgp community contains.- Parameters:
communityPrefixes
- the communityPrefixes value to set- Returns:
- the BGPCommunity object itself.
-
isAuthorizedToUse
Get customer is authorized to use bgp community or not.- Returns:
- the isAuthorizedToUse value
-
withIsAuthorizedToUse
Set customer is authorized to use bgp community or not.- Parameters:
isAuthorizedToUse
- the isAuthorizedToUse value to set- Returns:
- the BGPCommunity object itself.
-
serviceGroup
Get the service group of the bgp community contains.- Returns:
- the serviceGroup value
-
withServiceGroup
Set the service group of the bgp community contains.- Parameters:
serviceGroup
- the serviceGroup value to set- Returns:
- the BGPCommunity object itself.
-