BgpSettings Class

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

public class BgpSettings

BGP settings details.

Method Summary

Modifier and Type Method and Description
Long asn()

Get the asn value.

String bgpPeeringAddress()

Get the bgpPeeringAddress value.

Integer peerWeight()

Get the peerWeight value.

BgpSettings withAsn(Long asn)

Set the asn value.

BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

Set the bgpPeeringAddress value.

BgpSettings withPeerWeight(Integer peerWeight)

Set the peerWeight value.

Method Details

asn

public Long asn()

Get the asn value.

Returns:

the asn value

bgpPeeringAddress

public String bgpPeeringAddress()

Get the bgpPeeringAddress value.

Returns:

the bgpPeeringAddress value

peerWeight

public Integer peerWeight()

Get the peerWeight value.

Returns:

the peerWeight value

withAsn

public BgpSettings withAsn(Long asn)

Set the asn value.

Parameters:

asn - the asn value to set

Returns:

the BgpSettings object itself.

withBgpPeeringAddress

public BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

Set the bgpPeeringAddress value.

Parameters:

bgpPeeringAddress - the bgpPeeringAddress value to set

Returns:

the BgpSettings object itself.

withPeerWeight

public BgpSettings withPeerWeight(Integer peerWeight)

Set the peerWeight value.

Parameters:

peerWeight - the peerWeight value to set

Returns:

the BgpSettings object itself.

Applies to