VpnLinkBgpSettings Class

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

public class VpnLinkBgpSettings

BGP settings details for a link.

Constructor Summary

Constructor Description
VpnLinkBgpSettings()

Method Summary

Modifier and Type Method and Description
java.lang.Long asn()

Get the BGP speaker's ASN.

java.lang.String bgpPeeringAddress()

Get the BGP peering address and BGP identifier of this BGP speaker.

VpnLinkBgpSettings withAsn(Long asn)

Set the BGP speaker's ASN.

VpnLinkBgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

Set the BGP peering address and BGP identifier of this BGP speaker.

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

VpnLinkBgpSettings

public VpnLinkBgpSettings()

Method Details

asn

public Long asn()

Get the BGP speaker's ASN.

Returns:

the asn value

bgpPeeringAddress

public String bgpPeeringAddress()

Get the BGP peering address and BGP identifier of this BGP speaker.

Returns:

the bgpPeeringAddress value

withAsn

public VpnLinkBgpSettings withAsn(Long asn)

Set the BGP speaker's ASN.

Parameters:

asn - the asn value to set

Returns:

the VpnLinkBgpSettings object itself.

withBgpPeeringAddress

public VpnLinkBgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

Set the BGP peering address and BGP identifier of this BGP speaker.

Parameters:

bgpPeeringAddress - the bgpPeeringAddress value to set

Returns:

the VpnLinkBgpSettings object itself.

Applies to