IpConfigurationBgpPeeringAddress Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.IpConfigurationBgpPeeringAddress

Implements

public final class IpConfigurationBgpPeeringAddress
implements JsonSerializable<IpConfigurationBgpPeeringAddress>

Properties of IPConfigurationBgpPeeringAddress.

Constructor Summary

Constructor Description
IpConfigurationBgpPeeringAddress()

Creates an instance of IpConfigurationBgpPeeringAddress class.

Method Summary

Modifier and Type Method and Description
List<String> customBgpIpAddresses()

Get the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.

List<String> defaultBgpIpAddresses()

Get the defaultBgpIpAddresses property: The list of default BGP peering addresses which belong to IP configuration.

static IpConfigurationBgpPeeringAddress fromJson(JsonReader jsonReader)

Reads an instance of IpConfigurationBgpPeeringAddress from the JsonReader.

String ipconfigurationId()

Get the ipconfigurationId property: The ID of IP configuration which belongs to gateway.

JsonWriter toJson(JsonWriter jsonWriter)
List<String> tunnelIpAddresses()

Get the tunnelIpAddresses property: The list of tunnel public IP addresses which belong to IP configuration.

void validate()

Validates the instance.

IpConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List<String> customBgpIpAddresses)

Set the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.

IpConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId)

Set the ipconfigurationId property: The ID of IP configuration which belongs to gateway.

Methods inherited from java.lang.Object

Constructor Details

IpConfigurationBgpPeeringAddress

public IpConfigurationBgpPeeringAddress()

Creates an instance of IpConfigurationBgpPeeringAddress class.

Method Details

customBgpIpAddresses

public List customBgpIpAddresses()

Get the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.

Returns:

the customBgpIpAddresses value.

defaultBgpIpAddresses

public List defaultBgpIpAddresses()

Get the defaultBgpIpAddresses property: The list of default BGP peering addresses which belong to IP configuration.

Returns:

the defaultBgpIpAddresses value.

fromJson

public static IpConfigurationBgpPeeringAddress fromJson(JsonReader jsonReader)

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.

ipconfigurationId

public String ipconfigurationId()

Get the ipconfigurationId property: The ID of IP configuration which belongs to gateway.

Returns:

the ipconfigurationId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tunnelIpAddresses

public List 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.

withCustomBgpIpAddresses

public IpConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List customBgpIpAddresses)

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.

withIpconfigurationId

public IpConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId)

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.

Applies to