Partager via


PerformanceLevelUnit Class

public final class PerformanceLevelUnit
extends ExpandableStringEnum<PerformanceLevelUnit>

Unit type used to measure performance level.

Field Summary

Modifier and Type Field and Description
static final PerformanceLevelUnit DTU

Static value DTU for PerformanceLevelUnit.

static final PerformanceLevelUnit VCORES

Static value VCores for PerformanceLevelUnit.

Constructor Summary

Constructor Description
PerformanceLevelUnit()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PerformanceLevelUnit value.

Method Summary

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

Creates or finds a PerformanceLevelUnit from its string representation.

static Collection<PerformanceLevelUnit> values()

Gets known PerformanceLevelUnit values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DTU

public static final PerformanceLevelUnit DTU

Static value DTU for PerformanceLevelUnit.

VCORES

public static final PerformanceLevelUnit VCORES

Static value VCores for PerformanceLevelUnit.

Constructor Details

PerformanceLevelUnit

@Deprecated
public PerformanceLevelUnit()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PerformanceLevelUnit value.

Method Details

fromString

public static PerformanceLevelUnit fromString(String name)

Creates or finds a PerformanceLevelUnit from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PerformanceLevelUnit.

values

public static Collection values()

Gets known PerformanceLevelUnit values.

Returns:

known PerformanceLevelUnit values.

Applies to