VpnLinkBgpSettings Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VpnLinkBgpSettings
- com.
Implements
public final class VpnLinkBgpSettings
implements JsonSerializable<VpnLinkBgpSettings>
BGP settings details for a link.
Constructor Summary
Constructor | Description |
---|---|
VpnLinkBgpSettings() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
asn()
Get the asn property: The BGP speaker's ASN. |
String |
bgpPeeringAddress()
Get the bgp |
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vpn |
withAsn(Long asn)
Set the asn property: The BGP speaker's ASN. |
Vpn |
withBgpPeeringAddress(String bgpPeeringAddress)
Set the bgp |
Methods inherited from java.lang.Object
Constructor Details
VpnLinkBgpSettings
public VpnLinkBgpSettings()
Creates an instance of VpnLinkBgpSettings class.
Method Details
asn
public Long asn()
Get the asn property: The BGP speaker's ASN.
Returns:
bgpPeeringAddress
public String bgpPeeringAddress()
Get the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.
Returns:
fromJson
public static VpnLinkBgpSettings fromJson(JsonReader jsonReader)
Reads an instance of VpnLinkBgpSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAsn
public VpnLinkBgpSettings withAsn(Long asn)
Set the asn property: The BGP speaker's ASN.
Parameters:
Returns:
withBgpPeeringAddress
public VpnLinkBgpSettings withBgpPeeringAddress(String bgpPeeringAddress)
Set the bgpPeeringAddress property: The BGP peering address and BGP identifier of this BGP speaker.
Parameters:
Returns:
Applies to
Azure SDK for Java