Class BGPCommunity

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

public class BGPCommunity extends Object
Contains bgp community information offered in Service Community resources.
  • Constructor Details

    • BGPCommunity

      public BGPCommunity()
  • Method Details

    • serviceSupportedRegion

      public String serviceSupportedRegion()
      Get the region which the service support. e.g. For O365, region is Global.
      Returns:
      the serviceSupportedRegion value
    • 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.
    • communityName

      public String communityName()
      Get the name of the bgp community. e.g. Skype.
      Returns:
      the communityName 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.
    • 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
    • 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.
    • communityPrefixes

      public List<String> communityPrefixes()
      Get the prefixes that the bgp community contains.
      Returns:
      the communityPrefixes value
    • withCommunityPrefixes

      public BGPCommunity withCommunityPrefixes(List<String> communityPrefixes)
      Set the prefixes that the bgp community contains.
      Parameters:
      communityPrefixes - the communityPrefixes value to set
      Returns:
      the BGPCommunity object itself.
    • isAuthorizedToUse

      public Boolean isAuthorizedToUse()
      Get customer is authorized to use bgp community or not.
      Returns:
      the isAuthorizedToUse value
    • 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.
    • serviceGroup

      public String serviceGroup()
      Get the service group of the bgp community contains.
      Returns:
      the serviceGroup value
    • 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.