NodeSize Class

public final class NodeSize
extends ExpandableStringEnum<NodeSize>

The level of compute power that each node in the Big Data pool has.

Field Summary

Modifier and Type Field and Description
static final NodeSize LARGE

Static value Large for NodeSize.

static final NodeSize MEDIUM

Static value Medium for NodeSize.

static final NodeSize NONE

Static value None for NodeSize.

static final NodeSize SMALL

Static value Small for NodeSize.

static final NodeSize XLARGE

Static value XLarge for NodeSize.

static final NodeSize XXLARGE

Static value XXLarge for NodeSize.

static final NodeSize XXXLARGE

Static value XXXLarge for NodeSize.

Constructor Summary

Constructor Description
NodeSize()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NodeSize value.

Method Summary

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

Creates or finds a NodeSize from its string representation.

static Collection<NodeSize> values()

Gets known NodeSize values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LARGE

public static final NodeSize LARGE

Static value Large for NodeSize.

MEDIUM

public static final NodeSize MEDIUM

Static value Medium for NodeSize.

NONE

public static final NodeSize NONE

Static value None for NodeSize.

SMALL

public static final NodeSize SMALL

Static value Small for NodeSize.

XLARGE

public static final NodeSize XLARGE

Static value XLarge for NodeSize.

XXLARGE

public static final NodeSize XXLARGE

Static value XXLarge for NodeSize.

XXXLARGE

public static final NodeSize XXXLARGE

Static value XXXLarge for NodeSize.

Constructor Details

NodeSize

@Deprecated
public NodeSize()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NodeSize value.

Method Details

fromString

public static NodeSize fromString(String name)

Creates or finds a NodeSize from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NodeSize.

values

public static Collection values()

Gets known NodeSize values.

Returns:

known NodeSize values.

Applies to