public final class SeverityCondition extends Object
Constructor and Description |
---|
SeverityCondition(AnomalySeverity min,
AnomalySeverity max)
Create a SeverityCondition with the range defined by the provided
min and max . |
Modifier and Type | Method and Description |
---|---|
AnomalySeverity |
getMaxAlertSeverity()
Gets the maximum severity value.
|
AnomalySeverity |
getMinAlertSeverity()
Gets the minimum severity value.
|
SeverityCondition |
setMaxAlertSeverity(AnomalySeverity max)
Sets the maximum severity value.
|
SeverityCondition |
setMinAlertSeverity(AnomalySeverity min)
Sets the minimum severity value.
|
public SeverityCondition(AnomalySeverity min, AnomalySeverity max)
min
and max
.min
- the minimum severity valuemax
- the maximum severity valuepublic AnomalySeverity getMinAlertSeverity()
public AnomalySeverity getMaxAlertSeverity()
public SeverityCondition setMinAlertSeverity(AnomalySeverity min)
min
- the minimum severity value.public SeverityCondition setMaxAlertSeverity(AnomalySeverity max)
max
- the minimum severity value.Copyright © 2021 Microsoft Corporation. All rights reserved.