ComputePowerAction Class

public final class ComputePowerAction
extends ExpandableStringEnum<ComputePowerAction>

The compute power action.

Field Summary

Modifier and Type Field and Description
static final ComputePowerAction START

Static value Start for ComputePowerAction.

static final ComputePowerAction STOP

Static value Stop for ComputePowerAction.

Constructor Summary

Constructor Description
ComputePowerAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputePowerAction value.

Method Summary

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

Creates or finds a ComputePowerAction from its string representation.

static Collection<ComputePowerAction> values()

Gets known ComputePowerAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

START

public static final ComputePowerAction START

Static value Start for ComputePowerAction.

STOP

public static final ComputePowerAction STOP

Static value Stop for ComputePowerAction.

Constructor Details

ComputePowerAction

@Deprecated
public ComputePowerAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputePowerAction value.

Method Details

fromString

public static ComputePowerAction fromString(String name)

Creates or finds a ComputePowerAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ComputePowerAction.

values

public static Collection<ComputePowerAction> values()

Gets known ComputePowerAction values.

Returns:

known ComputePowerAction values.

Applies to