public final class DynamicThresholdFailingPeriods extends Object
| Constructor and Description |
|---|
DynamicThresholdFailingPeriods() |
| Modifier and Type | Method and Description |
|---|---|
float |
minFailingPeriodsToAlert()
Get the minFailingPeriodsToAlert property: The number of violations to trigger an alert.
|
float |
numberOfEvaluationPeriods()
Get the numberOfEvaluationPeriods property: The number of aggregated lookback points.
|
void |
validate()
Validates the instance.
|
DynamicThresholdFailingPeriods |
withMinFailingPeriodsToAlert(float minFailingPeriodsToAlert)
Set the minFailingPeriodsToAlert property: The number of violations to trigger an alert.
|
DynamicThresholdFailingPeriods |
withNumberOfEvaluationPeriods(float numberOfEvaluationPeriods)
Set the numberOfEvaluationPeriods property: The number of aggregated lookback points.
|
public float numberOfEvaluationPeriods()
public DynamicThresholdFailingPeriods withNumberOfEvaluationPeriods(float numberOfEvaluationPeriods)
numberOfEvaluationPeriods - the numberOfEvaluationPeriods value to set.public float minFailingPeriodsToAlert()
public DynamicThresholdFailingPeriods withMinFailingPeriodsToAlert(float minFailingPeriodsToAlert)
minFailingPeriodsToAlert - the minFailingPeriodsToAlert value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.