VpnConnectionStatus Class

public final class VpnConnectionStatus
extends ExpandableStringEnum<VpnConnectionStatus>

The current state of the vpn connection.

Field Summary

Modifier and Type Field and Description
static final VpnConnectionStatus CONNECTED

Static value Connected for VpnConnectionStatus.

static final VpnConnectionStatus CONNECTING

Static value Connecting for VpnConnectionStatus.

static final VpnConnectionStatus NOT_CONNECTED

Static value NotConnected for VpnConnectionStatus.

static final VpnConnectionStatus UNKNOWN

Static value Unknown for VpnConnectionStatus.

Constructor Summary

Constructor Description
VpnConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnConnectionStatus value.

Method Summary

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

Creates or finds a VpnConnectionStatus from its string representation.

static Collection<VpnConnectionStatus> values()

Gets known VpnConnectionStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTED

public static final VpnConnectionStatus CONNECTED

Static value Connected for VpnConnectionStatus.

CONNECTING

public static final VpnConnectionStatus CONNECTING

Static value Connecting for VpnConnectionStatus.

NOT_CONNECTED

public static final VpnConnectionStatus NOT_CONNECTED

Static value NotConnected for VpnConnectionStatus.

UNKNOWN

public static final VpnConnectionStatus UNKNOWN

Static value Unknown for VpnConnectionStatus.

Constructor Details

VpnConnectionStatus

@Deprecated
public VpnConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnConnectionStatus value.

Method Details

fromString

public static VpnConnectionStatus fromString(String name)

Creates or finds a VpnConnectionStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VpnConnectionStatus.

values

public static Collection values()

Gets known VpnConnectionStatus values.

Returns:

known VpnConnectionStatus values.

Applies to