Interface MetricAlert.DefinitionStages.WithWindowSizeMultipleResource
- All Known Subinterfaces:
MetricAlert.DefinitionMultipleResource
- Enclosing interface:
MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithWindowSizeMultipleResource
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.
-