Class DetectionConditionOperator
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DetectionConditionOperator>
com.azure.ai.metricsadvisor.administration.models.DetectionConditionOperator
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DetectionConditionOperator
extends com.azure.core.util.ExpandableStringEnum<DetectionConditionOperator>
The logical operator to apply across anomaly detection conditions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DetectionConditionOperatorThe logical operator AND, indicate that all conditions should be satisfied to detect a data point as anomaly.static final DetectionConditionOperatorThe logical operator OR, indicate that at least one conditions should be satisfied to detect a data point as anomaly. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DetectionConditionOperatorfromString(String name) CreateDetectionConditionOperatorfrom a string value.static Collection<DetectionConditionOperator> values()Get all values ofDetectionConditionOperator.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AND
The logical operator AND, indicate that all conditions should be satisfied to detect a data point as anomaly. -
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.Use thefromString(String)factory method.Constructs aDetectionConditionOperatorobject.
-
-
Method Details
-
fromString
CreateDetectionConditionOperatorfrom a string value.- Parameters:
name- The string value.- Returns:
- The
DetectionConditionOperator.
-
values
Get all values ofDetectionConditionOperator.- Returns:
- All valid values.
-
fromString(String)factory method.