PrimaryAggregationType Class

public final class PrimaryAggregationType
extends ExpandableStringEnum<PrimaryAggregationType>

The primary aggregation type of the metric.

Field Summary

Modifier and Type Field and Description
static final PrimaryAggregationType AVERAGE

Static value Average for PrimaryAggregationType.

static final PrimaryAggregationType LAST

Static value Last for PrimaryAggregationType.

static final PrimaryAggregationType MAXIMUM

Static value Maximum for PrimaryAggregationType.

static final PrimaryAggregationType MINIMUM

Static value Minimum for PrimaryAggregationType.

static final PrimaryAggregationType NONE

Static value None for PrimaryAggregationType.

static final PrimaryAggregationType TOTAL

Static value Total for PrimaryAggregationType.

Constructor Summary

Constructor Description
PrimaryAggregationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PrimaryAggregationType value.

Method Summary

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

Creates or finds a PrimaryAggregationType from its string representation.

static Collection<PrimaryAggregationType> values()

Gets known PrimaryAggregationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVERAGE

public static final PrimaryAggregationType AVERAGE

Static value Average for PrimaryAggregationType.

LAST

public static final PrimaryAggregationType LAST

Static value Last for PrimaryAggregationType.

MAXIMUM

public static final PrimaryAggregationType MAXIMUM

Static value Maximum for PrimaryAggregationType.

MINIMUM

public static final PrimaryAggregationType MINIMUM

Static value Minimum for PrimaryAggregationType.

NONE

public static final PrimaryAggregationType NONE

Static value None for PrimaryAggregationType.

TOTAL

public static final PrimaryAggregationType TOTAL

Static value Total for PrimaryAggregationType.

Constructor Details

PrimaryAggregationType

@Deprecated
public PrimaryAggregationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PrimaryAggregationType value.

Method Details

fromString

public static PrimaryAggregationType fromString(String name)

Creates or finds a PrimaryAggregationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PrimaryAggregationType.

values

public static Collection values()

Gets known PrimaryAggregationType values.

Returns:

known PrimaryAggregationType values.

Applies to