Share via


VirtualNetworkGatewayConnectionTunnelProperties Class

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

Implements

public final class VirtualNetworkGatewayConnectionTunnelProperties
implements JsonSerializable<VirtualNetworkGatewayConnectionTunnelProperties>

The VirtualNetworkGatewayConnectionTunnelProperties model.

Constructor Summary

Constructor Description
VirtualNetworkGatewayConnectionTunnelProperties()

Creates an instance of VirtualNetworkGatewayConnectionTunnelProperties class.

Method Summary

Modifier and Type Method and Description
String bgpPeeringAddress()

Get the bgpPeeringAddress property: Tunnel BGP peering address.

static VirtualNetworkGatewayConnectionTunnelProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayConnectionTunnelProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String tunnelIpAddress()

Get the tunnelIpAddress property: Tunnel remote IP address.

void validate()

Validates the instance.

VirtualNetworkGatewayConnectionTunnelProperties withBgpPeeringAddress(String bgpPeeringAddress)

Set the bgpPeeringAddress property: Tunnel BGP peering address.

VirtualNetworkGatewayConnectionTunnelProperties withTunnelIpAddress(String tunnelIpAddress)

Set the tunnelIpAddress property: Tunnel remote IP address.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkGatewayConnectionTunnelProperties

public VirtualNetworkGatewayConnectionTunnelProperties()

Creates an instance of VirtualNetworkGatewayConnectionTunnelProperties class.

Method Details

bgpPeeringAddress

public String bgpPeeringAddress()

Get the bgpPeeringAddress property: Tunnel BGP peering address.

Returns:

the bgpPeeringAddress value.

fromJson

public static VirtualNetworkGatewayConnectionTunnelProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayConnectionTunnelProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkGatewayConnectionTunnelProperties 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 VirtualNetworkGatewayConnectionTunnelProperties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tunnelIpAddress

public String tunnelIpAddress()

Get the tunnelIpAddress property: Tunnel remote IP address.

Returns:

the tunnelIpAddress value.

validate

public void validate()

Validates the instance.

withBgpPeeringAddress

public VirtualNetworkGatewayConnectionTunnelProperties withBgpPeeringAddress(String bgpPeeringAddress)

Set the bgpPeeringAddress property: Tunnel BGP peering address.

Parameters:

bgpPeeringAddress - the bgpPeeringAddress value to set.

Returns:

the VirtualNetworkGatewayConnectionTunnelProperties object itself.

withTunnelIpAddress

public VirtualNetworkGatewayConnectionTunnelProperties withTunnelIpAddress(String tunnelIpAddress)

Set the tunnelIpAddress property: Tunnel remote IP address.

Parameters:

tunnelIpAddress - the tunnelIpAddress value to set.

Returns:

the VirtualNetworkGatewayConnectionTunnelProperties object itself.

Applies to