Share via


BatchPoolState Class

public final class BatchPoolState
extends ExpandableStringEnum<BatchPoolState>

BatchPoolState enums.

Field Summary

Modifier and Type Field and Description
static final BatchPoolState ACTIVE

The Pool is available to run Tasks subject to the availability of Compute Nodes.

static final BatchPoolState DELETING

The user has requested that the Pool be deleted, but the delete operation has not yet completed.

Constructor Summary

Constructor Description
BatchPoolState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchPoolState value.

Method Summary

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

Creates or finds a BatchPoolState from its string representation.

static Collection<BatchPoolState> values()

Gets known BatchPoolState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final BatchPoolState ACTIVE

The Pool is available to run Tasks subject to the availability of Compute Nodes.

DELETING

public static final BatchPoolState DELETING

The user has requested that the Pool be deleted, but the delete operation has not yet completed.

Constructor Details

BatchPoolState

@Deprecated
public BatchPoolState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchPoolState value.

Method Details

fromString

public static BatchPoolState fromString(String name)

Creates or finds a BatchPoolState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchPoolState.

values

public static Collection<BatchPoolState> values()

Gets known BatchPoolState values.

Returns:

known BatchPoolState values.

Applies to