HubBgpConnectionStatus Class

public final class HubBgpConnectionStatus
extends ExpandableStringEnum<HubBgpConnectionStatus>

The current state of the VirtualHub to Peer.

Field Summary

Modifier and Type Field and Description
static final HubBgpConnectionStatus CONNECTED

Static value Connected for HubBgpConnectionStatus.

static final HubBgpConnectionStatus CONNECTING

Static value Connecting for HubBgpConnectionStatus.

static final HubBgpConnectionStatus NOT_CONNECTED

Static value NotConnected for HubBgpConnectionStatus.

static final HubBgpConnectionStatus UNKNOWN

Static value Unknown for HubBgpConnectionStatus.

Constructor Summary

Constructor Description
HubBgpConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HubBgpConnectionStatus value.

Method Summary

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

Creates or finds a HubBgpConnectionStatus from its string representation.

static Collection<HubBgpConnectionStatus> values()

Gets known HubBgpConnectionStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTED

public static final HubBgpConnectionStatus CONNECTED

Static value Connected for HubBgpConnectionStatus.

CONNECTING

public static final HubBgpConnectionStatus CONNECTING

Static value Connecting for HubBgpConnectionStatus.

NOT_CONNECTED

public static final HubBgpConnectionStatus NOT_CONNECTED

Static value NotConnected for HubBgpConnectionStatus.

UNKNOWN

public static final HubBgpConnectionStatus UNKNOWN

Static value Unknown for HubBgpConnectionStatus.

Constructor Details

HubBgpConnectionStatus

@Deprecated
public HubBgpConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HubBgpConnectionStatus value.

Method Details

fromString

public static HubBgpConnectionStatus fromString(String name)

Creates or finds a HubBgpConnectionStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HubBgpConnectionStatus.

values

public static Collection values()

Gets known HubBgpConnectionStatus values.

Returns:

known HubBgpConnectionStatus values.

Applies to