Compartir a través de


MetricAlertConfigurationsOperator Class

public final class MetricAlertConfigurationsOperator
extends ExpandableStringEnum<MetricAlertConfigurationsOperator>

The logical operator to apply across multiple MetricAlertConfiguration.

Field Summary

Modifier and Type Field and Description
static final MetricAlertConfigurationsOperator AND

Indicate that anomaly should be included in an alert when time series with the same dimension combination exist in every MetricAlertConfiguration and the result based on anomaly detection is true.

static final MetricAlertConfigurationsOperator OR

Indicate that any anomaly should trigger an alert.

static final MetricAlertConfigurationsOperator XOR

This operator can be applied only if exactly two MetricAlertConfiguration are specified.

Constructor Summary

Constructor Description
MetricAlertConfigurationsOperator()

Deprecated

Use the fromString(String name) factory method.

Constructs a MetricAlertConfigurationsOperator object.

Method Summary

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

Creates MetricAnomalyAlertConfigurationsOperator from the given string name.

static Collection<MetricAlertConfigurationsOperator> values()

Gets the collections of all MetricAlertConfigurationsOperator values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AND

public static final MetricAlertConfigurationsOperator AND

Indicate that anomaly should be included in an alert when time series with the same dimension combination exist in every MetricAlertConfiguration and the result based on anomaly detection is true.

OR

public static final MetricAlertConfigurationsOperator OR

Indicate that any anomaly should trigger an alert.

XOR

public static final MetricAlertConfigurationsOperator XOR

This operator can be applied only if exactly two MetricAlertConfiguration are specified. When the detection result on the series of one configuration is True then anomaly will be included in an alert only if the detection result on the series of another configuration is False, both series should have the same dimension combination.

Constructor Details

MetricAlertConfigurationsOperator

@Deprecated
public MetricAlertConfigurationsOperator()

Deprecated

Use the fromString(String name) factory method.

Constructs a MetricAlertConfigurationsOperator object.

Method Details

fromString

public static MetricAlertConfigurationsOperator fromString(String name)

Creates MetricAnomalyAlertConfigurationsOperator from the given string name.

Parameters:

name - The name.

Returns:

MetricAnomalyAlertConfigurationsOperator.

values

public static Collection values()

Gets the collections of all MetricAlertConfigurationsOperator values.

Returns:

The collections of all MetricAlertConfigurationsOperator values.

Applies to