BgpSettings Class

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

public class BgpSettings

BGP settings details.

Constructor Summary

Constructor Description
BgpSettings()

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.

java.lang.Integer peerWeight()

Get the weight added to routes learned from this BGP speaker.

BgpSettings withAsn(Long asn)

Set the BGP speaker's ASN.

BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

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

BgpSettings withPeerWeight(Integer peerWeight)

Set the weight added to routes learned from 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

BgpSettings

public BgpSettings()

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

peerWeight

public Integer peerWeight()

Get the weight added to routes learned from this BGP speaker.

Returns:

the peerWeight value

withAsn

public BgpSettings withAsn(Long asn)

Set the BGP speaker's ASN.

Parameters:

asn - the asn value to set

Returns:

the BgpSettings object itself.

withBgpPeeringAddress

public BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

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

Parameters:

bgpPeeringAddress - the bgpPeeringAddress value to set

Returns:

the BgpSettings object itself.

withPeerWeight

public BgpSettings withPeerWeight(Integer peerWeight)

Set the weight added to routes learned from this BGP speaker.

Parameters:

peerWeight - the peerWeight value to set

Returns:

the BgpSettings object itself.

Applies to