GatewayCustomBgpIpAddressIpConfiguration Class

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

Implements

public final class GatewayCustomBgpIpAddressIpConfiguration
implements JsonSerializable<GatewayCustomBgpIpAddressIpConfiguration>

GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.

Constructor Summary

Constructor Description
GatewayCustomBgpIpAddressIpConfiguration()

Creates an instance of GatewayCustomBgpIpAddressIpConfiguration class.

Method Summary

Modifier and Type Method and Description
String customBgpIpAddress()

Get the customBgpIpAddress property: The custom BgpPeeringAddress which belongs to IpconfigurationId.

static GatewayCustomBgpIpAddressIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of GatewayCustomBgpIpAddressIpConfiguration from the JsonReader.

String ipConfigurationId()

Get the ipConfigurationId property: The IpconfigurationId of ipconfiguration which belongs to gateway.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GatewayCustomBgpIpAddressIpConfiguration withCustomBgpIpAddress(String customBgpIpAddress)

Set the customBgpIpAddress property: The custom BgpPeeringAddress which belongs to IpconfigurationId.

GatewayCustomBgpIpAddressIpConfiguration withIpConfigurationId(String ipConfigurationId)

Set the ipConfigurationId property: The IpconfigurationId of ipconfiguration which belongs to gateway.

Methods inherited from java.lang.Object

Constructor Details

GatewayCustomBgpIpAddressIpConfiguration

public GatewayCustomBgpIpAddressIpConfiguration()

Creates an instance of GatewayCustomBgpIpAddressIpConfiguration class.

Method Details

customBgpIpAddress

public String customBgpIpAddress()

Get the customBgpIpAddress property: The custom BgpPeeringAddress which belongs to IpconfigurationId.

Returns:

the customBgpIpAddress value.

fromJson

public static GatewayCustomBgpIpAddressIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of GatewayCustomBgpIpAddressIpConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GatewayCustomBgpIpAddressIpConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

ipConfigurationId

public String ipConfigurationId()

Get the ipConfigurationId property: The IpconfigurationId of ipconfiguration which belongs to gateway.

Returns:

the ipConfigurationId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomBgpIpAddress

public GatewayCustomBgpIpAddressIpConfiguration withCustomBgpIpAddress(String customBgpIpAddress)

Set the customBgpIpAddress property: The custom BgpPeeringAddress which belongs to IpconfigurationId.

Parameters:

customBgpIpAddress - the customBgpIpAddress value to set.

Returns:

the GatewayCustomBgpIpAddressIpConfiguration object itself.

withIpConfigurationId

public GatewayCustomBgpIpAddressIpConfiguration withIpConfigurationId(String ipConfigurationId)

Set the ipConfigurationId property: The IpconfigurationId of ipconfiguration which belongs to gateway.

Parameters:

ipConfigurationId - the ipConfigurationId value to set.

Returns:

the GatewayCustomBgpIpAddressIpConfiguration object itself.

Applies to