BGPCommunity Class
- java.
lang. Object - com.
microsoft. azure. management. network. BGPCommunity
- com.
public class BGPCommunity
Contains bgp community information offered in Service Community resources.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
communityName()
Get the communityName value. |
List<String> |
communityPrefixes()
Get the communityPrefixes value. |
String |
communityValue()
Get the communityValue value. |
Boolean |
isAuthorizedToUse()
Get the isAuthorizedToUse value. |
String |
serviceGroup()
Get the serviceGroup value. |
String |
serviceSupportedRegion()
Get the serviceSupportedRegion value. |
BGPCommunity |
withCommunityName(String communityName)
Set the communityName value. |
BGPCommunity |
withCommunityPrefixes(List<String> communityPrefixes)
Set the communityPrefixes value. |
BGPCommunity |
withCommunityValue(String communityValue)
Set the communityValue value. |
BGPCommunity |
withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set the isAuthorizedToUse value. |
BGPCommunity |
withServiceGroup(String serviceGroup)
Set the serviceGroup value. |
BGPCommunity |
withServiceSupportedRegion(String serviceSupportedRegion)
Set the serviceSupportedRegion value. |
Method Details
communityName
public String communityName()
Get the communityName value.
Returns:
communityPrefixes
public List
Get the communityPrefixes value.
Returns:
communityValue
public String communityValue()
Get the communityValue value.
Returns:
isAuthorizedToUse
public Boolean isAuthorizedToUse()
Get the isAuthorizedToUse value.
Returns:
serviceGroup
public String serviceGroup()
Get the serviceGroup value.
Returns:
serviceSupportedRegion
public String serviceSupportedRegion()
Get the serviceSupportedRegion value.
Returns:
withCommunityName
public BGPCommunity withCommunityName(String communityName)
Set the communityName value.
Parameters:
Returns:
withCommunityPrefixes
public BGPCommunity withCommunityPrefixes(List
Set the communityPrefixes value.
Parameters:
Returns:
withCommunityValue
public BGPCommunity withCommunityValue(String communityValue)
Set the communityValue value.
Parameters:
Returns:
withIsAuthorizedToUse
public BGPCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set the isAuthorizedToUse value.
Parameters:
Returns:
withServiceGroup
public BGPCommunity withServiceGroup(String serviceGroup)
Set the serviceGroup value.
Parameters:
Returns:
withServiceSupportedRegion
public BGPCommunity withServiceSupportedRegion(String serviceSupportedRegion)
Set the serviceSupportedRegion value.
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