Size Class

public final class Size
extends ExpandableStringEnum<Size>

Specifies the capacity tier of the Grafana instance.

Field Summary

Modifier and Type Field and Description
static final Size X1

X1 capacity tier.

static final Size X2

X2 capacity tier.

Constructor Summary

Constructor Description
Size()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Size value.

Method Summary

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

Creates or finds a Size from its string representation.

static Collection<Size> values()

Gets known Size values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

X1

public static final Size X1

X1 capacity tier.

X2

public static final Size X2

X2 capacity tier.

Constructor Details

Size

@Deprecated
public Size()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Size value.

Method Details

fromString

public static Size fromString(String name)

Creates or finds a Size from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Size.

values

public static Collection<Size> values()

Gets known Size values.

Returns:

known Size values.

Applies to