LinkingState Class

public final class LinkingState
extends ExpandableStringEnum<LinkingState>

The state of ADR linking for a provisioning service.

Field Summary

Modifier and Type Field and Description
static final LinkingState IN_PROGRESS

The linking process is in progress.

static final LinkingState NOT_LINKED

The provisioning service is not linked to a Device Registry namespace.

static final LinkingState ORPHANED

The linked Device Registry namespace no longer exists.

static final LinkingState SUCCEEDED

The linking process succeeded.

Constructor Summary

Constructor Description
LinkingState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinkingState value.

Method Summary

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

Creates or finds a LinkingState from its string representation.

static Collection<LinkingState> values()

Gets known LinkingState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IN_PROGRESS

public static final LinkingState IN_PROGRESS

The linking process is in progress.

NOT_LINKED

public static final LinkingState NOT_LINKED

The provisioning service is not linked to a Device Registry namespace.

ORPHANED

public static final LinkingState ORPHANED

The linked Device Registry namespace no longer exists.

SUCCEEDED

public static final LinkingState SUCCEEDED

The linking process succeeded.

Constructor Details

LinkingState

@Deprecated
public LinkingState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinkingState value.

Method Details

fromString

public static LinkingState fromString(String name)

Creates or finds a LinkingState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LinkingState.

values

public static Collection<LinkingState> values()

Gets known LinkingState values.

Returns:

known LinkingState values.

Applies to