StorageConnectorState Class

public final class StorageConnectorState
extends ExpandableStringEnum<StorageConnectorState>

The state of the storage connector.

Field Summary

Modifier and Type Field and Description
static final StorageConnectorState ACTIVE

Whether the connector is active.

static final StorageConnectorState INACTIVE

Whether the connector is inactive.

Constructor Summary

Constructor Description
StorageConnectorState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageConnectorState value.

Method Summary

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

Creates or finds a StorageConnectorState from its string representation.

static Collection<StorageConnectorState> values()

Gets known StorageConnectorState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final StorageConnectorState ACTIVE

Whether the connector is active.

INACTIVE

public static final StorageConnectorState INACTIVE

Whether the connector is inactive.

Constructor Details

StorageConnectorState

@Deprecated
public StorageConnectorState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageConnectorState value.

Method Details

fromString

public static StorageConnectorState fromString(String name)

Creates or finds a StorageConnectorState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StorageConnectorState.

values

public static Collection<StorageConnectorState> values()

Gets known StorageConnectorState values.

Returns:

known StorageConnectorState values.

Applies to