Share via


VersionState Class

public final class VersionState
extends ExpandableStringEnum<VersionState>

The state of this packet core control plane version.

Field Summary

Modifier and Type Field and Description
static final VersionState ACTIVE

Static value Active for VersionState.

static final VersionState DEPRECATED

Static value Deprecated for VersionState.

static final VersionState PREVIEW

Static value Preview for VersionState.

static final VersionState UNKNOWN

Static value Unknown for VersionState.

static final VersionState VALIDATING

Static value Validating for VersionState.

static final VersionState VALIDATION_FAILED

Static value ValidationFailed for VersionState.

Constructor Summary

Constructor Description
VersionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VersionState value.

Method Summary

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

Creates or finds a VersionState from its string representation.

static Collection<VersionState> values()

Gets known VersionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final VersionState ACTIVE

Static value Active for VersionState.

DEPRECATED

public static final VersionState DEPRECATED

Static value Deprecated for VersionState.

PREVIEW

public static final VersionState PREVIEW

Static value Preview for VersionState.

UNKNOWN

public static final VersionState UNKNOWN

Static value Unknown for VersionState.

VALIDATING

public static final VersionState VALIDATING

Static value Validating for VersionState.

VALIDATION_FAILED

public static final VersionState VALIDATION_FAILED

Static value ValidationFailed for VersionState.

Constructor Details

VersionState

@Deprecated
public VersionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VersionState value.

Method Details

fromString

public static VersionState fromString(String name)

Creates or finds a VersionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VersionState.

values

public static Collection<VersionState> values()

Gets known VersionState values.

Returns:

known VersionState values.

Applies to