Class VpnLinkBgpSettings
java.lang.Object
com.azure.resourcemanager.network.models.VpnLinkBgpSettings
BGP settings details for a link.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasn()Get the asn property: The BGP speaker's ASN.Get the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.voidvalidate()Validates the instance.Set the asn property: The BGP speaker's ASN.withBgpPeeringAddress(String bgpPeeringAddress) Set the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.
-
Constructor Details
-
VpnLinkBgpSettings
public VpnLinkBgpSettings()Creates an instance of VpnLinkBgpSettings class.
-
-
Method Details
-
asn
Get the asn property: The BGP speaker's ASN.- Returns:
- the asn value.
-
withAsn
Set the asn property: The BGP speaker's ASN.- Parameters:
asn- the asn value to set.- Returns:
- the VpnLinkBgpSettings object itself.
-
bgpPeeringAddress
Get the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.- Returns:
- the bgpPeeringAddress value.
-
withBgpPeeringAddress
Set the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.- Parameters:
bgpPeeringAddress- the bgpPeeringAddress value to set.- Returns:
- the VpnLinkBgpSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-