Share via


ReplicaConnectedState Class

public final class ReplicaConnectedState
extends ExpandableStringEnum<ReplicaConnectedState>

Link connected state.

Field Summary

Modifier and Type Field and Description
static final ReplicaConnectedState CONNECTED

Static value CONNECTED for ReplicaConnectedState.

static final ReplicaConnectedState DISCONNECTED

Static value DISCONNECTED for ReplicaConnectedState.

Constructor Summary

Constructor Description
ReplicaConnectedState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicaConnectedState value.

Method Summary

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

Creates or finds a ReplicaConnectedState from its string representation.

static Collection<ReplicaConnectedState> values()

Gets known ReplicaConnectedState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTED

public static final ReplicaConnectedState CONNECTED

Static value CONNECTED for ReplicaConnectedState.

DISCONNECTED

public static final ReplicaConnectedState DISCONNECTED

Static value DISCONNECTED for ReplicaConnectedState.

Constructor Details

ReplicaConnectedState

@Deprecated
public ReplicaConnectedState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicaConnectedState value.

Method Details

fromString

public static ReplicaConnectedState fromString(String name)

Creates or finds a ReplicaConnectedState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReplicaConnectedState.

values

public static Collection<ReplicaConnectedState> values()

Gets known ReplicaConnectedState values.

Returns:

known ReplicaConnectedState values.

Applies to