Interface MetricAlert.DefinitionStages.WithSeverity
- All Known Subinterfaces:
MetricAlert.Definition
- Enclosing interface:
- MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithSeverity
The stage of the definition which specifies severity for metric alert.
-
Method Summary
Modifier and TypeMethodDescriptionwithAlertDetails(int severity, String description) Sets alert severity {0, 1, 2, 3, 4} and description.
-
Method Details
-
withAlertDetails
Sets alert severity {0, 1, 2, 3, 4} and description.- Parameters:
severity- the severity value to setdescription- Human readable text description of the metric alert.- Returns:
- the next stage of metric alert definition.
-