Share via


ComputeInstanceState Class

public final class ComputeInstanceState
extends ExpandableStringEnum<ComputeInstanceState>

Current state of an ComputeInstance.

Field Summary

Modifier and Type Field and Description
static final ComputeInstanceState CREATE_FAILED

Static value CreateFailed for ComputeInstanceState.

static final ComputeInstanceState CREATING

Static value Creating for ComputeInstanceState.

static final ComputeInstanceState DELETING

Static value Deleting for ComputeInstanceState.

static final ComputeInstanceState JOB_RUNNING

Static value JobRunning for ComputeInstanceState.

static final ComputeInstanceState RESTARTING

Static value Restarting for ComputeInstanceState.

static final ComputeInstanceState RUNNING

Static value Running for ComputeInstanceState.

static final ComputeInstanceState SETTING_UP

Static value SettingUp for ComputeInstanceState.

static final ComputeInstanceState SETUP_FAILED

Static value SetupFailed for ComputeInstanceState.

static final ComputeInstanceState STARTING

Static value Starting for ComputeInstanceState.

static final ComputeInstanceState STOPPED

Static value Stopped for ComputeInstanceState.

static final ComputeInstanceState STOPPING

Static value Stopping for ComputeInstanceState.

static final ComputeInstanceState UNKNOWN

Static value Unknown for ComputeInstanceState.

static final ComputeInstanceState UNUSABLE

Static value Unusable for ComputeInstanceState.

static final ComputeInstanceState USER_SETTING_UP

Static value UserSettingUp for ComputeInstanceState.

static final ComputeInstanceState USER_SETUP_FAILED

Static value UserSetupFailed for ComputeInstanceState.

Constructor Summary

Constructor Description
ComputeInstanceState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputeInstanceState value.

Method Summary

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

Creates or finds a ComputeInstanceState from its string representation.

static Collection<ComputeInstanceState> values()

Gets known ComputeInstanceState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATE_FAILED

public static final ComputeInstanceState CREATE_FAILED

Static value CreateFailed for ComputeInstanceState.

CREATING

public static final ComputeInstanceState CREATING

Static value Creating for ComputeInstanceState.

DELETING

public static final ComputeInstanceState DELETING

Static value Deleting for ComputeInstanceState.

JOB_RUNNING

public static final ComputeInstanceState JOB_RUNNING

Static value JobRunning for ComputeInstanceState.

RESTARTING

public static final ComputeInstanceState RESTARTING

Static value Restarting for ComputeInstanceState.

RUNNING

public static final ComputeInstanceState RUNNING

Static value Running for ComputeInstanceState.

SETTING_UP

public static final ComputeInstanceState SETTING_UP

Static value SettingUp for ComputeInstanceState.

SETUP_FAILED

public static final ComputeInstanceState SETUP_FAILED

Static value SetupFailed for ComputeInstanceState.

STARTING

public static final ComputeInstanceState STARTING

Static value Starting for ComputeInstanceState.

STOPPED

public static final ComputeInstanceState STOPPED

Static value Stopped for ComputeInstanceState.

STOPPING

public static final ComputeInstanceState STOPPING

Static value Stopping for ComputeInstanceState.

UNKNOWN

public static final ComputeInstanceState UNKNOWN

Static value Unknown for ComputeInstanceState.

UNUSABLE

public static final ComputeInstanceState UNUSABLE

Static value Unusable for ComputeInstanceState.

USER_SETTING_UP

public static final ComputeInstanceState USER_SETTING_UP

Static value UserSettingUp for ComputeInstanceState.

USER_SETUP_FAILED

public static final ComputeInstanceState USER_SETUP_FAILED

Static value UserSetupFailed for ComputeInstanceState.

Constructor Details

ComputeInstanceState

@Deprecated
public ComputeInstanceState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputeInstanceState value.

Method Details

fromString

public static ComputeInstanceState fromString(String name)

Creates or finds a ComputeInstanceState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ComputeInstanceState.

values

public static Collection<ComputeInstanceState> values()

Gets known ComputeInstanceState values.

Returns:

known ComputeInstanceState values.

Applies to