BGPCommunity Class

  • java.lang.Object
    • com.microsoft.azure.management.network.BGPCommunity

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BGPCommunity

public BGPCommunity()

Method Details

communityName

public String communityName()

Get the name of the bgp community. e.g. Skype.

Returns:

the communityName value

communityPrefixes

public List communityPrefixes()

Get the prefixes that the bgp community contains.

Returns:

the communityPrefixes value

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:

the communityValue value

isAuthorizedToUse

public Boolean isAuthorizedToUse()

Get customer is authorized to use bgp community or not.

Returns:

the isAuthorizedToUse value

serviceGroup

public String serviceGroup()

Get the service group of the bgp community contains.

Returns:

the serviceGroup value

serviceSupportedRegion

public String serviceSupportedRegion()

Get the region which the service support. e.g. For O365, region is Global.

Returns:

the serviceSupportedRegion value

withCommunityName

public BGPCommunity withCommunityName(String communityName)

Set the name of the bgp community. e.g. Skype.

Parameters:

communityName - the communityName value to set

Returns:

the BGPCommunity object itself.

withCommunityPrefixes

public BGPCommunity withCommunityPrefixes(List communityPrefixes)

Set the prefixes that the bgp community contains.

Parameters:

communityPrefixes - the communityPrefixes value to set

Returns:

the BGPCommunity object itself.

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:

communityValue - the communityValue value to set

Returns:

the BGPCommunity object itself.

withIsAuthorizedToUse

public BGPCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse)

Set customer is authorized to use bgp community or not.

Parameters:

isAuthorizedToUse - the isAuthorizedToUse value to set

Returns:

the BGPCommunity object itself.

withServiceGroup

public BGPCommunity withServiceGroup(String serviceGroup)

Set the service group of the bgp community contains.

Parameters:

serviceGroup - the serviceGroup value to set

Returns:

the BGPCommunity object itself.

withServiceSupportedRegion

public BGPCommunity withServiceSupportedRegion(String serviceSupportedRegion)

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.

Applies to