Partager via


DetectionConditionOperator Class

public final class DetectionConditionOperator
extends ExpandableStringEnum<DetectionConditionOperator>

The logical operator to apply across anomaly detection conditions.

Field Summary

Modifier and Type Field and Description
static final DetectionConditionOperator AND

The logical operator AND, indicate that all conditions should be satisfied to detect a data point as anomaly.

static final DetectionConditionOperator OR

The logical operator OR, indicate that at least one conditions should be satisfied to detect a data point as anomaly.

Constructor Summary

Constructor Description
DetectionConditionOperator()

Deprecated

Use the fromString(String name) factory method.

Constructs a DetectionConditionOperator object.

Method Summary

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

Create DetectionConditionOperator from a string value.

static Collection<DetectionConditionOperator> values()

Get all values of DetectionConditionOperator.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AND

public static final DetectionConditionOperator AND

The logical operator AND, indicate that all conditions should be satisfied to detect a data point as anomaly.

OR

public static final DetectionConditionOperator OR

The logical operator OR, indicate that at least one conditions should be satisfied to detect a data point as anomaly.

Constructor Details

DetectionConditionOperator

@Deprecated
public DetectionConditionOperator()

Deprecated

Use the fromString(String name) factory method.

Constructs a DetectionConditionOperator object.

Method Details

fromString

public static DetectionConditionOperator fromString(String name)

Create DetectionConditionOperator from a string value.

Parameters:

name - The string value.

Returns:

values

public static Collection values()

Get all values of DetectionConditionOperator.

Returns:

All valid values.

Applies to