public final class VpnLinkBgpSettings extends Object
| Constructor and Description |
|---|
VpnLinkBgpSettings() |
| Modifier and Type | Method and Description |
|---|---|
Long |
asn()
Get the asn property: The BGP speaker's ASN.
|
String |
bgpPeeringAddress()
Get the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.
|
void |
validate()
Validates the instance.
|
VpnLinkBgpSettings |
withAsn(Long asn)
Set the asn property: The BGP speaker's ASN.
|
VpnLinkBgpSettings |
withBgpPeeringAddress(String bgpPeeringAddress)
Set the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.
|
public Long asn()
public VpnLinkBgpSettings withAsn(Long asn)
asn - the asn value to set.public String bgpPeeringAddress()
public VpnLinkBgpSettings withBgpPeeringAddress(String bgpPeeringAddress)
bgpPeeringAddress - the bgpPeeringAddress value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.