Class DynamicMetricCriteriaArgs.Builder

  • Enclosing class:
    DynamicMetricCriteriaArgs

    public static final class DynamicMetricCriteriaArgs.Builder
    extends java.lang.Object
    • Method Detail

      • alertSensitivity

        public DynamicMetricCriteriaArgs.Builder alertSensitivity​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​DynamicThresholdSensitivity>> alertSensitivity)
        Parameters:
        alertSensitivity - The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
        Returns:
        builder
      • alertSensitivity

        public DynamicMetricCriteriaArgs.Builder alertSensitivity​(com.pulumi.core.Either<java.lang.String,​DynamicThresholdSensitivity> alertSensitivity)
        Parameters:
        alertSensitivity - The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
        Returns:
        builder
      • alertSensitivity

        public DynamicMetricCriteriaArgs.Builder alertSensitivity​(java.lang.String alertSensitivity)
        Parameters:
        alertSensitivity - The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
        Returns:
        builder
      • alertSensitivity

        public DynamicMetricCriteriaArgs.Builder alertSensitivity​(DynamicThresholdSensitivity alertSensitivity)
        Parameters:
        alertSensitivity - The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
        Returns:
        builder
      • criterionType

        public DynamicMetricCriteriaArgs.Builder criterionType​(com.pulumi.core.Output<java.lang.String> criterionType)
        Parameters:
        criterionType - Specifies the type of threshold criteria Expected value is 'DynamicThresholdCriterion'.
        Returns:
        builder
      • criterionType

        public DynamicMetricCriteriaArgs.Builder criterionType​(java.lang.String criterionType)
        Parameters:
        criterionType - Specifies the type of threshold criteria Expected value is 'DynamicThresholdCriterion'.
        Returns:
        builder
      • ignoreDataBefore

        public DynamicMetricCriteriaArgs.Builder ignoreDataBefore​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> ignoreDataBefore)
        Parameters:
        ignoreDataBefore - Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
        Returns:
        builder
      • ignoreDataBefore

        public DynamicMetricCriteriaArgs.Builder ignoreDataBefore​(java.lang.String ignoreDataBefore)
        Parameters:
        ignoreDataBefore - Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
        Returns:
        builder
      • metricName

        public DynamicMetricCriteriaArgs.Builder metricName​(com.pulumi.core.Output<java.lang.String> metricName)
        Parameters:
        metricName - Name of the metric.
        Returns:
        builder
      • metricNamespace

        public DynamicMetricCriteriaArgs.Builder metricNamespace​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> metricNamespace)
        Parameters:
        metricNamespace - Namespace of the metric.
        Returns:
        builder
      • metricNamespace

        public DynamicMetricCriteriaArgs.Builder metricNamespace​(java.lang.String metricNamespace)
        Parameters:
        metricNamespace - Namespace of the metric.
        Returns:
        builder
      • operator

        public DynamicMetricCriteriaArgs.Builder operator​(java.lang.String operator)
        Parameters:
        operator - The operator used to compare the metric value against the threshold.
        Returns:
        builder
      • skipMetricValidation

        public DynamicMetricCriteriaArgs.Builder skipMetricValidation​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> skipMetricValidation)
        Parameters:
        skipMetricValidation - Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
        Returns:
        builder
      • skipMetricValidation

        public DynamicMetricCriteriaArgs.Builder skipMetricValidation​(java.lang.Boolean skipMetricValidation)
        Parameters:
        skipMetricValidation - Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
        Returns:
        builder
      • timeAggregation

        public DynamicMetricCriteriaArgs.Builder timeAggregation​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​AggregationTypeEnum>> timeAggregation)
        Parameters:
        timeAggregation - the criteria time aggregation types.
        Returns:
        builder
      • timeAggregation

        public DynamicMetricCriteriaArgs.Builder timeAggregation​(java.lang.String timeAggregation)
        Parameters:
        timeAggregation - the criteria time aggregation types.
        Returns:
        builder