Class VirtualNetworkBgpCommunities
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities
-
public final class VirtualNetworkBgpCommunities extends Object
Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkBgpCommunities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringregionalCommunity()Get the regionalCommunity property: The BGP community associated with the region of the virtual network.voidvalidate()Validates the instance.StringvirtualNetworkCommunity()Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.VirtualNetworkBgpCommunitieswithVirtualNetworkCommunity(String virtualNetworkCommunity)Set the virtualNetworkCommunity property: The BGP community associated with the virtual network.
-
-
-
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.
-
-