public class BGPCommunity extends Object
| Constructor and Description |
|---|
BGPCommunity() |
| Modifier and Type | Method and Description |
|---|---|
String |
communityName()
Get the name of the bgp community.
|
List<String> |
communityPrefixes()
Get the prefixes that the bgp community contains.
|
String |
communityValue()
Get the value of the bgp community.
|
Boolean |
isAuthorizedToUse()
Get customer is authorized to use bgp community or not.
|
String |
serviceGroup()
Get the service group of the bgp community contains.
|
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.
|
public String serviceSupportedRegion()
public BGPCommunity withServiceSupportedRegion(String serviceSupportedRegion)
serviceSupportedRegion - the serviceSupportedRegion value to setpublic String communityName()
public BGPCommunity withCommunityName(String communityName)
communityName - the communityName value to setpublic String communityValue()
public BGPCommunity withCommunityValue(String communityValue)
communityValue - the communityValue value to setpublic List<String> communityPrefixes()
public BGPCommunity withCommunityPrefixes(List<String> communityPrefixes)
communityPrefixes - the communityPrefixes value to setpublic Boolean isAuthorizedToUse()
public BGPCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse)
isAuthorizedToUse - the isAuthorizedToUse value to setpublic String serviceGroup()
public BGPCommunity withServiceGroup(String serviceGroup)
serviceGroup - the serviceGroup value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/