Partager via


ConnectionState Class

public final class ConnectionState
extends ExpandableStringEnum<ConnectionState>

The kind of connection error that occurred.

Field Summary

Modifier and Type Field and Description
static final ConnectionState DATACENTER_TO_DATACENTER_NETWORK_ERROR

Static value DatacenterToDatacenterNetworkError for ConnectionState.

static final ConnectionState INTERNAL_ERROR

Static value InternalError for ConnectionState.

static final ConnectionState INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR

Static value InternalOperatorToDataCenterCertificateError for ConnectionState.

static final ConnectionState OK

Static value OK for ConnectionState.

static final ConnectionState OPERATOR_TO_DATA_CENTER_NETWORK_ERROR

Static value OperatorToDataCenterNetworkError for ConnectionState.

static final ConnectionState UNKNOWN

Static value Unknown for ConnectionState.

Constructor Summary

Constructor Description
ConnectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConnectionState value.

Method Summary

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

Creates or finds a ConnectionState from its string representation.

static Collection<ConnectionState> values()

Gets known ConnectionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DATACENTER_TO_DATACENTER_NETWORK_ERROR

public static final ConnectionState DATACENTER_TO_DATACENTER_NETWORK_ERROR

Static value DatacenterToDatacenterNetworkError for ConnectionState.

INTERNAL_ERROR

public static final ConnectionState INTERNAL_ERROR

Static value InternalError for ConnectionState.

INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR

public static final ConnectionState INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR

Static value InternalOperatorToDataCenterCertificateError for ConnectionState.

OK

public static final ConnectionState OK

Static value OK for ConnectionState.

OPERATOR_TO_DATA_CENTER_NETWORK_ERROR

public static final ConnectionState OPERATOR_TO_DATA_CENTER_NETWORK_ERROR

Static value OperatorToDataCenterNetworkError for ConnectionState.

UNKNOWN

public static final ConnectionState UNKNOWN

Static value Unknown for ConnectionState.

Constructor Details

ConnectionState

@Deprecated
public ConnectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConnectionState value.

Method Details

fromString

public static ConnectionState fromString(String name)

Creates or finds a ConnectionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConnectionState.

values

public static Collection values()

Gets known ConnectionState values.

Returns:

known ConnectionState values.

Applies to