Interface SingleMetricAnomalyDetector.Builder

    • Method Detail

      • accountId

        SingleMetricAnomalyDetector.Builder accountId​(String accountId)

        If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.

        Parameters:
        accountId - If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • namespace

        SingleMetricAnomalyDetector.Builder namespace​(String namespace)

        The namespace of the metric to create the anomaly detection model for.

        Parameters:
        namespace - The namespace of the metric to create the anomaly detection model for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricName

        SingleMetricAnomalyDetector.Builder metricName​(String metricName)

        The name of the metric to create the anomaly detection model for.

        Parameters:
        metricName - The name of the metric to create the anomaly detection model for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensions

        SingleMetricAnomalyDetector.Builder dimensions​(Collection<Dimension> dimensions)

        The metric dimensions to create the anomaly detection model for.

        Parameters:
        dimensions - The metric dimensions to create the anomaly detection model for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensions

        SingleMetricAnomalyDetector.Builder dimensions​(Dimension... dimensions)

        The metric dimensions to create the anomaly detection model for.

        Parameters:
        dimensions - The metric dimensions to create the anomaly detection model for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stat

        SingleMetricAnomalyDetector.Builder stat​(String stat)

        The statistic to use for the metric and anomaly detection model.

        Parameters:
        stat - The statistic to use for the metric and anomaly detection model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.