Class SeverityCondition
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.SeverityCondition
Type that describes severity range.
-
Constructor Summary
ConstructorDescriptionSeverityCondition
(AnomalySeverity min, AnomalySeverity max) Create a SeverityCondition with the range defined by the providedmin
andmax
. -
Method Summary
Modifier and TypeMethodDescriptionGets the maximum severity value.Gets the minimum severity value.Sets the maximum severity value.Sets the minimum severity value.
-
Constructor Details
-
SeverityCondition
Create a SeverityCondition with the range defined by the providedmin
andmax
.- Parameters:
min
- the minimum severity valuemax
- the maximum severity value
-
-
Method Details
-
getMinAlertSeverity
Gets the minimum severity value.- Returns:
- the minimum severity value.
-
getMaxAlertSeverity
Gets the maximum severity value.- Returns:
- the maximum severity value.
-
setMinAlertSeverity
Sets the minimum severity value.- Parameters:
min
- the minimum severity value.- Returns:
- the SeverityCondition object itself.
-
setMaxAlertSeverity
Sets the maximum severity value.- Parameters:
max
- the minimum severity value.- Returns:
- the SeverityCondition object itself.
-