BGPCommunity Class
- java.
lang. Object - com.
microsoft. azure. management. network. BGPCommunity
- com.
public class BGPCommunity
Contains bgp community information offered in Service Community resources.
Constructor Summary
Constructor | Description | |
---|---|---|
BGPCommunity() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
communityName()
Get the name of the bgp community. |
java.util.List<java.lang.String> |
communityPrefixes()
Get the prefixes that the bgp community contains. |
java.lang.String |
communityValue()
Get the value of the bgp community. |
java.lang.Boolean |
isAuthorizedToUse()
Get customer is authorized to use bgp community or not. |
java.lang.String |
serviceGroup()
Get the service group of the bgp community contains. |
java.lang.String |
serviceSupportedRegion()
Get the region which the service support. |
BGPCommunity |
withCommunityName(String communityName)
Set the name of the bgp community. |
BGPCommunity |
withCommunityPrefixes(List<String> communityPrefixes)
Set the prefixes that the bgp community contains. |
BGPCommunity |
withCommunityValue(String communityValue)
Set the value of the bgp community. |
BGPCommunity |
withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set customer is authorized to use bgp community or not. |
BGPCommunity |
withServiceGroup(String serviceGroup)
Set the service group of the bgp community contains. |
BGPCommunity |
withServiceSupportedRegion(String serviceSupportedRegion)
Set the region which the service support. |
Methods inherited from java.lang.Object
Constructor Details
BGPCommunity
public BGPCommunity()
Method Details
communityName
public String communityName()
Get the name of the bgp community. e.g. Skype.
Returns:
communityPrefixes
public List
Get the prefixes that the bgp community contains.
Returns:
communityValue
public String communityValue()
Get the value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
Returns:
isAuthorizedToUse
public Boolean isAuthorizedToUse()
Get customer is authorized to use bgp community or not.
Returns:
serviceGroup
public String serviceGroup()
Get the service group of the bgp community contains.
Returns:
serviceSupportedRegion
public String serviceSupportedRegion()
Get the region which the service support. e.g. For O365, region is Global.
Returns:
withCommunityName
public BGPCommunity withCommunityName(String communityName)
Set the name of the bgp community. e.g. Skype.
Parameters:
Returns:
withCommunityPrefixes
public BGPCommunity withCommunityPrefixes(List
Set the prefixes that the bgp community contains.
Parameters:
Returns:
withCommunityValue
public BGPCommunity withCommunityValue(String communityValue)
Set the value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
Parameters:
Returns:
withIsAuthorizedToUse
public BGPCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set customer is authorized to use bgp community or not.
Parameters:
Returns:
withServiceGroup
public BGPCommunity withServiceGroup(String serviceGroup)
Set the service group of the bgp community contains.
Parameters:
Returns:
withServiceSupportedRegion
public BGPCommunity withServiceSupportedRegion(String serviceSupportedRegion)
Set the region which the service support. e.g. For O365, region is Global.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for