VMTier Class

public final class VMTier
extends ExpandableStringEnum<VMTier>

VM tier The type of the VM.

Field Summary

Modifier and Type Field and Description
static final VMTier LOW_PRIORITY

Static value LowPriority for VMTier.

static final VMTier SPOT

Static value Spot for VMTier.

static final VMTier STANDARD

Static value Standard for VMTier.

Constructor Summary

Constructor Description
VMTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VMTier value.

Method Summary

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

Creates or finds a VMTier from its string representation.

static Collection<VMTier> values()

Gets known VMTier values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LOW_PRIORITY

public static final VMTier LOW_PRIORITY

Static value LowPriority for VMTier.

SPOT

public static final VMTier SPOT

Static value Spot for VMTier.

STANDARD

public static final VMTier STANDARD

Static value Standard for VMTier.

Constructor Details

VMTier

@Deprecated
public VMTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VMTier value.

Method Details

fromString

public static VMTier fromString(String name)

Creates or finds a VMTier from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VMTier.

values

public static Collection<VMTier> values()

Gets known VMTier values.

Returns:

known VMTier values.

Applies to