BgpSettings Class
- java.
lang. Object - com.
microsoft. azure. management. network. BgpSettings
- com.
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. |
Bgp |
withAsn(Long asn)
Set the BGP speaker's ASN. |
Bgp |
withBgpPeeringAddress(String bgpPeeringAddress)
Set the BGP peering address and BGP identifier of this BGP speaker. |
Bgp |
withPeerWeight(Integer peerWeight)
Set the weight added to routes learned from this BGP speaker. |
Methods inherited from java.lang.Object
Constructor Details
BgpSettings
public BgpSettings()
Method Details
asn
public Long asn()
Get the BGP speaker's ASN.
Returns:
bgpPeeringAddress
public String bgpPeeringAddress()
Get the BGP peering address and BGP identifier of this BGP speaker.
Returns:
peerWeight
public Integer peerWeight()
Get the weight added to routes learned from this BGP speaker.
Returns:
withAsn
public BgpSettings withAsn(Long asn)
Set the BGP speaker's ASN.
Parameters:
Returns:
withBgpPeeringAddress
public BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)
Set the BGP peering address and BGP identifier of this BGP speaker.
Parameters:
Returns:
withPeerWeight
public BgpSettings withPeerWeight(Integer peerWeight)
Set the weight added to routes learned from this BGP speaker.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for