LinuxOsState Class

public final class LinuxOsState
extends ExpandableStringEnum<LinuxOsState>

The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).

Field Summary

Modifier and Type Field and Description
static final LinuxOsState DEPROVISION_APPLIED

Static value DeprovisionApplied for LinuxOsState.

static final LinuxOsState DEPROVISION_REQUESTED

Static value DeprovisionRequested for LinuxOsState.

static final LinuxOsState NON_DEPROVISIONED

Static value NonDeprovisioned for LinuxOsState.

Constructor Summary

Constructor Description
LinuxOsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinuxOsState value.

Method Summary

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

Creates or finds a LinuxOsState from its string representation.

static Collection<LinuxOsState> values()

Gets known LinuxOsState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEPROVISION_APPLIED

public static final LinuxOsState DEPROVISION_APPLIED

Static value DeprovisionApplied for LinuxOsState.

DEPROVISION_REQUESTED

public static final LinuxOsState DEPROVISION_REQUESTED

Static value DeprovisionRequested for LinuxOsState.

NON_DEPROVISIONED

public static final LinuxOsState NON_DEPROVISIONED

Static value NonDeprovisioned for LinuxOsState.

Constructor Details

LinuxOsState

@Deprecated
public LinuxOsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinuxOsState value.

Method Details

fromString

public static LinuxOsState fromString(String name)

Creates or finds a LinuxOsState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LinuxOsState.

values

public static Collection<LinuxOsState> values()

Gets known LinuxOsState values.

Returns:

known LinuxOsState values.

Applies to