Partager via


ConnectionState Class

public final class ConnectionState
extends ExpandableStringEnum<ConnectionState>

The state of the connection.

Field Summary

Modifier and Type Field and Description
static final ConnectionState ACTIVE

Static value Active for ConnectionState.

static final ConnectionState APPROVED

Static value Approved for ConnectionState.

static final ConnectionState NONE

Static value None for ConnectionState.

static final ConnectionState PENDING_APPROVAL

Static value PendingApproval for ConnectionState.

static final ConnectionState PROVISIONING_COMPLETED

Static value ProvisioningCompleted for ConnectionState.

static final ConnectionState PROVISIONING_FAILED

Static value ProvisioningFailed for ConnectionState.

static final ConnectionState PROVISIONING_STARTED

Static value ProvisioningStarted for ConnectionState.

static final ConnectionState VALIDATING

Static value Validating 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

ACTIVE

public static final ConnectionState ACTIVE

Static value Active for ConnectionState.

APPROVED

public static final ConnectionState APPROVED

Static value Approved for ConnectionState.

NONE

public static final ConnectionState NONE

Static value None for ConnectionState.

PENDING_APPROVAL

public static final ConnectionState PENDING_APPROVAL

Static value PendingApproval for ConnectionState.

PROVISIONING_COMPLETED

public static final ConnectionState PROVISIONING_COMPLETED

Static value ProvisioningCompleted for ConnectionState.

PROVISIONING_FAILED

public static final ConnectionState PROVISIONING_FAILED

Static value ProvisioningFailed for ConnectionState.

PROVISIONING_STARTED

public static final ConnectionState PROVISIONING_STARTED

Static value ProvisioningStarted for ConnectionState.

VALIDATING

public static final ConnectionState VALIDATING

Static value Validating 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<ConnectionState> values()

Gets known ConnectionState values.

Returns:

known ConnectionState values.

Applies to