SeverityCondition Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. administration. models. SeverityCondition
- com.
public final class SeverityCondition
Type that describes severity range.
Constructor Summary
Constructor | Description |
---|---|
SeverityCondition(AnomalySeverity min, AnomalySeverity max) |
Create a Severity |
Method Summary
Modifier and Type | Method and Description |
---|---|
Anomaly |
getMaxAlertSeverity()
Gets the maximum severity value. |
Anomaly |
getMinAlertSeverity()
Gets the minimum severity value. |
Severity |
setMaxAlertSeverity(AnomalySeverity max)
Sets the maximum severity value. |
Severity |
setMinAlertSeverity(AnomalySeverity min)
Sets the minimum severity value. |
Methods inherited from java.lang.Object
Constructor Details
SeverityCondition
public SeverityCondition(AnomalySeverity min, AnomalySeverity max)
Create a SeverityCondition with the range defined by the provided min
and max
.
Parameters:
Method Details
getMaxAlertSeverity
public AnomalySeverity getMaxAlertSeverity()
Gets the maximum severity value.
Returns:
getMinAlertSeverity
public AnomalySeverity getMinAlertSeverity()
Gets the minimum severity value.
Returns:
setMaxAlertSeverity
public SeverityCondition setMaxAlertSeverity(AnomalySeverity max)
Sets the maximum severity value.
Parameters:
Returns:
setMinAlertSeverity
public SeverityCondition setMinAlertSeverity(AnomalySeverity min)
Sets the minimum severity value.
Parameters:
Returns:
Applies to
Azure SDK for Java