Interface MetricAlert.DefinitionStages.WithSeverity
-
- All Known Subinterfaces:
MetricAlert.Definition
- Enclosing interface:
- MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithSeverityThe stage of the definition which specifies severity for metric alert.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAlert.DefinitionStages.WithActionGroupwithAlertDetails(int severity, String description)Sets alert severity {0, 1, 2, 3, 4} and description.
-
-
-
Method Detail
-
withAlertDetails
MetricAlert.DefinitionStages.WithActionGroup withAlertDetails(int severity, String description)
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.
-
-