ClusterPurpose Class

public final class ClusterPurpose
extends ExpandableStringEnum<ClusterPurpose>

Intended usage of the cluster.

Field Summary

Modifier and Type Field and Description
static final ClusterPurpose DENSE_PROD

Static value DenseProd for ClusterPurpose.

static final ClusterPurpose DEV_TEST

Static value DevTest for ClusterPurpose.

static final ClusterPurpose FAST_PROD

Static value FastProd for ClusterPurpose.

Constructor Summary

Constructor Description
ClusterPurpose()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClusterPurpose value.

Method Summary

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

Creates or finds a ClusterPurpose from its string representation.

static Collection<ClusterPurpose> values()

Gets known ClusterPurpose values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DENSE_PROD

public static final ClusterPurpose DENSE_PROD

Static value DenseProd for ClusterPurpose.

DEV_TEST

public static final ClusterPurpose DEV_TEST

Static value DevTest for ClusterPurpose.

FAST_PROD

public static final ClusterPurpose FAST_PROD

Static value FastProd for ClusterPurpose.

Constructor Details

ClusterPurpose

@Deprecated
public ClusterPurpose()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClusterPurpose value.

Method Details

fromString

public static ClusterPurpose fromString(String name)

Creates or finds a ClusterPurpose from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ClusterPurpose.

values

public static Collection<ClusterPurpose> values()

Gets known ClusterPurpose values.

Returns:

known ClusterPurpose values.

Applies to