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 Details

    • 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 set
      description - Human readable text description of the metric alert.
      Returns:
      the next stage of metric alert definition.