Class IpConfigurationBgpPeeringAddress
java.lang.Object
com.azure.resourcemanager.network.models.IpConfigurationBgpPeeringAddress
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IpConfigurationBgpPeeringAddress>
public final class IpConfigurationBgpPeeringAddress
extends Object
implements com.azure.json.JsonSerializable<IpConfigurationBgpPeeringAddress>
Properties of IPConfigurationBgpPeeringAddress.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of IpConfigurationBgpPeeringAddress class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.Get the defaultBgpIpAddresses property: The list of default BGP peering addresses which belong to IP configuration.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IpConfigurationBgpPeeringAddress from the JsonReader.Get the ipconfigurationId property: The ID of IP configuration which belongs to gateway.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the tunnelIpAddresses property: The list of tunnel public IP addresses which belong to IP configuration.voidvalidate()Validates the instance.withCustomBgpIpAddresses(List<String> customBgpIpAddresses) Set the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.withIpconfigurationId(String ipconfigurationId) Set the ipconfigurationId property: The ID of IP configuration which belongs to gateway.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
IpConfigurationBgpPeeringAddress
public IpConfigurationBgpPeeringAddress()Creates an instance of IpConfigurationBgpPeeringAddress class.
-
-
Method Details
-
ipconfigurationId
Get the ipconfigurationId property: The ID of IP configuration which belongs to gateway.- Returns:
- the ipconfigurationId value.
-
withIpconfigurationId
Set the ipconfigurationId property: The ID of IP configuration which belongs to gateway.- Parameters:
ipconfigurationId- the ipconfigurationId value to set.- Returns:
- the IpConfigurationBgpPeeringAddress object itself.
-
defaultBgpIpAddresses
Get the defaultBgpIpAddresses property: The list of default BGP peering addresses which belong to IP configuration.- Returns:
- the defaultBgpIpAddresses value.
-
customBgpIpAddresses
Get the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.- Returns:
- the customBgpIpAddresses value.
-
withCustomBgpIpAddresses
Set the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.- Parameters:
customBgpIpAddresses- the customBgpIpAddresses value to set.- Returns:
- the IpConfigurationBgpPeeringAddress object itself.
-
tunnelIpAddresses
Get the tunnelIpAddresses property: The list of tunnel public IP addresses which belong to IP configuration.- Returns:
- the tunnelIpAddresses value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IpConfigurationBgpPeeringAddress>- Throws:
IOException
-
fromJson
public static IpConfigurationBgpPeeringAddress fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IpConfigurationBgpPeeringAddress from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IpConfigurationBgpPeeringAddress if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the IpConfigurationBgpPeeringAddress.
-