Workload Class

public final class Workload
extends ExpandableStringEnum<Workload>

The workload type of the subscription. It can be either Production or DevTest.

Field Summary

Modifier and Type Field and Description
static final Workload DEV_TEST

Static value DevTest for Workload.

static final Workload PRODUCTION

Static value Production for Workload.

Constructor Summary

Constructor Description
Workload()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Workload value.

Method Summary

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

Creates or finds a Workload from its string representation.

static Collection<Workload> values()

Gets known Workload values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEV_TEST

public static final Workload DEV_TEST

Static value DevTest for Workload.

PRODUCTION

public static final Workload PRODUCTION

Static value Production for Workload.

Constructor Details

Workload

@Deprecated
public Workload()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Workload value.

Method Details

fromString

public static Workload fromString(String name)

Creates or finds a Workload from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Workload.

values

public static Collection<Workload> values()

Gets known Workload values.

Returns:

known Workload values.

Applies to