Class ListAnomaliesDetectedFilter
java.lang.Object
com.azure.ai.metricsadvisor.models.ListAnomaliesDetectedFilter
Describes additional conditions to filter the anomalies while listing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the maximum severity of the anomalies to be included in the list.Gets the minimum severity of the anomalies to be included in the list.Gets the time series group keys, indicating that retrieve the anomalies occurred in the time series in the group.setSeriesGroupKeys
(List<DimensionKey> seriesGroupKeys) Sets the time series keys, indicating that retrieve the anomalies occurred n the time series in the group.setSeverity
(AnomalySeverity severity) Sets the severity for the anomalies to be retrieved.setSeverityRange
(AnomalySeverity min, AnomalySeverity max) Sets the severity range for the anomalies to be retrieved.
-
Constructor Details
-
ListAnomaliesDetectedFilter
public ListAnomaliesDetectedFilter()
-
-
Method Details
-
getMinSeverity
Gets the minimum severity of the anomalies to be included in the list.- Returns:
- The minimum severity.
-
getMaxSeverity
Gets the maximum severity of the anomalies to be included in the list.- Returns:
- The max severity.
-
getSeriesGroupKeys
Gets the time series group keys, indicating that retrieve the anomalies occurred in the time series in the group.- Returns:
- The time series keys.
-
setSeverityRange
Sets the severity range for the anomalies to be retrieved.- Parameters:
min
- The minimum severity.max
- The maximum severity.- Returns:
- The ListAnomaliesDetectedFilter object itself.
-
setSeverity
Sets the severity for the anomalies to be retrieved. The effect of using this method the same as callingsetSeverityRange(AnomalySeverity, AnomalySeverity)
with the same min and max severity.- Parameters:
severity
- The severity.- Returns:
- The ListAnomaliesDetectedFilter object itself.
-
setSeriesGroupKeys
Sets the time series keys, indicating that retrieve the anomalies occurred n the time series in the group.- Parameters:
seriesGroupKeys
- The series keys.- Returns:
- The ListAnomaliesDetectedFilter object itself.
-