Interface MetricDynamicAlertCondition.UpdateStages

  • Enclosing interface:
    MetricDynamicAlertCondition

    public static interface MetricDynamicAlertCondition.UpdateStages
    Grouping of metric alert condition update stages.
    • Method Detail

      • withDimension

        MetricDynamicAlertCondition.UpdateStages withDimension​(String dimensionName,
                                                               String... values)
        Adds a metric dimension filter.
        Parameters:
        dimensionName - the name of the dimension.
        values - list of dimension values to alert on.
        Returns:
        the next stage of the metric alert condition update.
      • withoutDimension

        MetricDynamicAlertCondition.UpdateStages withoutDimension​(String dimensionName)
        Removes the specified dimension filter.
        Parameters:
        dimensionName - dimensionName the name of the dimension.
        Returns:
        the next stage of the metric alert condition update.
      • withIgnoreDataBefore

        MetricDynamicAlertCondition.UpdateStages withIgnoreDataBefore​(OffsetDateTime date)
        Sets the date from which to start learning the metric historical data and calculate the dynamic thresholds.
        Parameters:
        date - the date from which to start learning the metric historical data and calculate the dynamic thresholds.
        Returns:
        the next stage of metric alert condition definition.
      • withoutIgnoreDataBefore

        MetricDynamicAlertCondition.UpdateStages withoutIgnoreDataBefore()
        Removes the date from which to start learning the metric historical data and calculate the dynamic thresholds.
        Returns:
        the next stage of the metric alert condition update.
      • parent

        MetricAlert.Update parent()
        Returns back to the metric alert update flow.
        Returns:
        the next stage of the metric alert update.