public final class BgpCommunity extends Object
| Constructor and Description |
|---|
BgpCommunity() |
| Modifier and Type | Method and Description |
|---|---|
String |
communityName()
Get the communityName property: The name of the bgp community.
|
List<String> |
communityPrefixes()
Get the communityPrefixes property: The prefixes that the bgp community contains.
|
String |
communityValue()
Get the communityValue property: The value of the bgp community.
|
Boolean |
isAuthorizedToUse()
Get the isAuthorizedToUse property: Customer is authorized to use bgp community or not.
|
String |
serviceGroup()
Get the serviceGroup property: The service group of the bgp community contains.
|
String |
serviceSupportedRegion()
Get the serviceSupportedRegion property: The region which the service support.
|
void |
validate()
Validates the instance.
|
BgpCommunity |
withCommunityName(String communityName)
Set the communityName property: The name of the bgp community.
|
BgpCommunity |
withCommunityPrefixes(List<String> communityPrefixes)
Set the communityPrefixes property: The prefixes that the bgp community contains.
|
BgpCommunity |
withCommunityValue(String communityValue)
Set the communityValue property: The value of the bgp community.
|
BgpCommunity |
withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set the isAuthorizedToUse property: Customer is authorized to use bgp community or not.
|
BgpCommunity |
withServiceGroup(String serviceGroup)
Set the serviceGroup property: The service group of the bgp community contains.
|
BgpCommunity |
withServiceSupportedRegion(String serviceSupportedRegion)
Set the serviceSupportedRegion property: The region which the service support.
|
public String serviceSupportedRegion()
public BgpCommunity withServiceSupportedRegion(String serviceSupportedRegion)
serviceSupportedRegion - the serviceSupportedRegion value to set.public String communityName()
public BgpCommunity withCommunityName(String communityName)
communityName - the communityName value to set.public String communityValue()
public BgpCommunity withCommunityValue(String communityValue)
communityValue - the communityValue value to set.public List<String> communityPrefixes()
public BgpCommunity withCommunityPrefixes(List<String> communityPrefixes)
communityPrefixes - the communityPrefixes value to set.public Boolean isAuthorizedToUse()
public BgpCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse)
isAuthorizedToUse - the isAuthorizedToUse value to set.public String serviceGroup()
public BgpCommunity withServiceGroup(String serviceGroup)
serviceGroup - the serviceGroup value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.