public final class MetricAnomalyAlertSnoozeCondition extends Object
Constructor and Description |
---|
MetricAnomalyAlertSnoozeCondition() |
Modifier and Type | Method and Description |
---|---|
int |
getAutoSnooze()
Get the autoSnooze property: snooze point count, value range : [0, +∞).
|
SnoozeScope |
getSnoozeScope()
Get the snoozeScope property: snooze scope.
|
boolean |
isOnlyForSuccessive()
Get the onlyForSuccessive property: only snooze for successive anomalies.
|
MetricAnomalyAlertSnoozeCondition |
setAutoSnooze(int autoSnooze)
Set the autoSnooze property: snooze point count, value range : [0, +∞).
|
MetricAnomalyAlertSnoozeCondition |
setOnlyForSuccessive(boolean onlyForSuccessive)
Set the onlyForSuccessive property: only snooze for successive anomalies.
|
MetricAnomalyAlertSnoozeCondition |
setSnoozeScope(SnoozeScope snoozeScope)
Set the snoozeScope property: snooze scope.
|
public int getAutoSnooze()
public MetricAnomalyAlertSnoozeCondition setAutoSnooze(int autoSnooze)
autoSnooze
- the autoSnooze value to set.public SnoozeScope getSnoozeScope()
public MetricAnomalyAlertSnoozeCondition setSnoozeScope(SnoozeScope snoozeScope)
snoozeScope
- the snoozeScope value to set.public boolean isOnlyForSuccessive()
public MetricAnomalyAlertSnoozeCondition setOnlyForSuccessive(boolean onlyForSuccessive)
onlyForSuccessive
- the onlyForSuccessive value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.