Class VirtualNetworkBgpCommunities


  • public final class VirtualNetworkBgpCommunities
    extends Object
    Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
    • Constructor Detail

      • VirtualNetworkBgpCommunities

        public VirtualNetworkBgpCommunities()
    • Method Detail

      • virtualNetworkCommunity

        public String virtualNetworkCommunity()
        Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.
        Returns:
        the virtualNetworkCommunity value.
      • withVirtualNetworkCommunity

        public VirtualNetworkBgpCommunities withVirtualNetworkCommunity​(String virtualNetworkCommunity)
        Set the virtualNetworkCommunity property: The BGP community associated with the virtual network.
        Parameters:
        virtualNetworkCommunity - the virtualNetworkCommunity value to set.
        Returns:
        the VirtualNetworkBgpCommunities object itself.
      • regionalCommunity

        public String regionalCommunity()
        Get the regionalCommunity property: The BGP community associated with the region of the virtual network.
        Returns:
        the regionalCommunity value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.