Interface MetricAlert.DefinitionStages.WithWindowSize
-
- All Known Subinterfaces:
MetricAlert.Definition
- Enclosing interface:
- MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithWindowSizeThe stage of the definition which specifies monitoring window for metric alert.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAlert.DefinitionStages.WithEvaluationFrequencywithPeriod(Duration size)Sets the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
-
-
-
Method Detail
-
withPeriod
MetricAlert.DefinitionStages.WithEvaluationFrequency withPeriod(Duration size)
Sets the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.- Parameters:
size- the windowSize value to set- Returns:
- the next stage of metric alert definition.
-
-