Class BgpSettings
java.lang.Object
com.microsoft.azure.management.network.BgpSettings
BGP settings details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasn()
Get the BGP speaker's ASN.Get the BGP peering address and BGP identifier of this BGP speaker.Get the weight added to routes learned from this BGP speaker.Set the BGP speaker's ASN.withBgpPeeringAddress
(String bgpPeeringAddress) Set the BGP peering address and BGP identifier of this BGP speaker.withPeerWeight
(Integer peerWeight) Set the weight added to routes learned from this BGP speaker.
-
Constructor Details
-
BgpSettings
public BgpSettings()
-
-
Method Details
-
asn
Get the BGP speaker's ASN.- Returns:
- the asn value
-
withAsn
Set the BGP speaker's ASN.- Parameters:
asn
- the asn value to set- Returns:
- the BgpSettings object itself.
-
bgpPeeringAddress
Get the BGP peering address and BGP identifier of this BGP speaker.- Returns:
- the bgpPeeringAddress value
-
withBgpPeeringAddress
Set the BGP peering address and BGP identifier of this BGP speaker.- Parameters:
bgpPeeringAddress
- the bgpPeeringAddress value to set- Returns:
- the BgpSettings object itself.
-
peerWeight
Get the weight added to routes learned from this BGP speaker.- Returns:
- the peerWeight value
-
withPeerWeight
Set the weight added to routes learned from this BGP speaker.- Parameters:
peerWeight
- the peerWeight value to set- Returns:
- the BgpSettings object itself.
-