VpnGatewayTunnelingProtocol Class

public final class VpnGatewayTunnelingProtocol
extends ExpandableStringEnum<VpnGatewayTunnelingProtocol>

VPN protocol enabled for the VpnServerConfiguration.

Field Summary

Modifier and Type Field and Description
static final VpnGatewayTunnelingProtocol IKE_V2

Static value IkeV2 for VpnGatewayTunnelingProtocol.

static final VpnGatewayTunnelingProtocol OPEN_VPN

Static value OpenVPN for VpnGatewayTunnelingProtocol.

Constructor Summary

Constructor Description
VpnGatewayTunnelingProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnGatewayTunnelingProtocol value.

Method Summary

Modifier and Type Method and Description
static VpnGatewayTunnelingProtocol fromString(String name)

Creates or finds a VpnGatewayTunnelingProtocol from its string representation.

static Collection<VpnGatewayTunnelingProtocol> values()

Gets known VpnGatewayTunnelingProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IKE_V2

public static final VpnGatewayTunnelingProtocol IKE_V2

Static value IkeV2 for VpnGatewayTunnelingProtocol.

OPEN_VPN

public static final VpnGatewayTunnelingProtocol OPEN_VPN

Static value OpenVPN for VpnGatewayTunnelingProtocol.

Constructor Details

VpnGatewayTunnelingProtocol

@Deprecated
public VpnGatewayTunnelingProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnGatewayTunnelingProtocol value.

Method Details

fromString

public static VpnGatewayTunnelingProtocol fromString(String name)

Creates or finds a VpnGatewayTunnelingProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VpnGatewayTunnelingProtocol.

values

public static Collection values()

Gets known VpnGatewayTunnelingProtocol values.

Returns:

known VpnGatewayTunnelingProtocol values.

Applies to