Interface MetricAlert.DefinitionStages.WithWindowSize
- All Known Subinterfaces:
MetricAlert.Definition
- Enclosing interface:
MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithWindowSize
The stage of the definition which specifies monitoring window for metric alert.
-
Method Summary
Modifier and TypeMethodDescriptionwithPeriod(Duration size) Sets the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
-
Method Details
-
withPeriod
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.
-