VirtualNetworkBgpCommunities Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities

public final class VirtualNetworkBgpCommunities

Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.

Constructor Summary

Constructor Description
VirtualNetworkBgpCommunities()

Creates an instance of VirtualNetworkBgpCommunities class.

Method Summary

Modifier and Type Method and Description
String regionalCommunity()

Get the regionalCommunity property: The BGP community associated with the region of the virtual network.

void validate()

Validates the instance.

String virtualNetworkCommunity()

Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.

VirtualNetworkBgpCommunities withVirtualNetworkCommunity(String virtualNetworkCommunity)

Set the virtualNetworkCommunity property: The BGP community associated with the virtual network.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkBgpCommunities

public VirtualNetworkBgpCommunities()

Creates an instance of VirtualNetworkBgpCommunities class.

Method Details

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.

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.

Applies to