Interface MetricDynamicAlertCondition.DefinitionStages.WithCriteriaOperator<ParentT>
- Type Parameters:
ParentT- the stage of the parent Metric Alert definition to return to after attaching this definition
- Enclosing interface:
- MetricDynamicAlertCondition.DefinitionStages
public static interface MetricDynamicAlertCondition.DefinitionStages.WithCriteriaOperator<ParentT>
The stage of the definition which specifies metric alert condition.
-
Method Summary
Modifier and TypeMethodDescriptionwithCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity alertSensitivity) Sets the condition to monitor for the current metric alert.
-
Method Details
-
withCondition
MetricDynamicAlertCondition.DefinitionStages.WithFailingPeriods<ParentT> withCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity alertSensitivity) Sets the condition to monitor for the current metric alert.- Parameters:
timeAggregation- the criteria time aggregation types.condition- the criteria operator used to compare the metric value against the threshold.alertSensitivity- the extent of deviation required to trigger an alert.- Returns:
- the next stage of metric alert condition definition.
-