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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor