Interface PutAnomalyDetectorRequest.Builder

    • Method Detail

      • namespace

        @Deprecated
        PutAnomalyDetectorRequest.Builder namespace​(String namespace)
        Deprecated.
        Use SingleMetricAnomalyDetector.

        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

        @Deprecated
        PutAnomalyDetectorRequest.Builder metricName​(String metricName)
        Deprecated.
        Use SingleMetricAnomalyDetector.

        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

        @Deprecated
        PutAnomalyDetectorRequest.Builder dimensions​(Collection<Dimension> dimensions)
        Deprecated.
        Use SingleMetricAnomalyDetector.

        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

        @Deprecated
        PutAnomalyDetectorRequest.Builder dimensions​(Dimension... dimensions)
        Deprecated.
        Use SingleMetricAnomalyDetector.

        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

        @Deprecated
        PutAnomalyDetectorRequest.Builder stat​(String stat)
        Deprecated.
        Use SingleMetricAnomalyDetector.

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

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

        PutAnomalyDetectorRequest.Builder configuration​(AnomalyDetectorConfiguration configuration)

        The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.

        The configuration can also include the time zone to use for the metric.

        Parameters:
        configuration - The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.

        The configuration can also include the time zone to use for the metric.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • singleMetricAnomalyDetector

        PutAnomalyDetectorRequest.Builder singleMetricAnomalyDetector​(SingleMetricAnomalyDetector singleMetricAnomalyDetector)

        A single metric anomaly detector to be created.

        When using SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:

        • Dimensions

        • MetricName

        • Namespace

        • Stat

        • the MetricMatchAnomalyDetector parameters of PutAnomalyDetectorInput

        Instead, specify the single metric anomaly detector attributes as part of the property SingleMetricAnomalyDetector.

        Parameters:
        singleMetricAnomalyDetector - A single metric anomaly detector to be created.

        When using SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:

        • Dimensions

        • MetricName

        • Namespace

        • Stat

        • the MetricMatchAnomalyDetector parameters of PutAnomalyDetectorInput

        Instead, specify the single metric anomaly detector attributes as part of the property SingleMetricAnomalyDetector.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricMathAnomalyDetector

        PutAnomalyDetectorRequest.Builder metricMathAnomalyDetector​(MetricMathAnomalyDetector metricMathAnomalyDetector)

        The metric math anomaly detector to be created.

        When using MetricMathAnomalyDetector, you cannot include the following parameters in the same operation:

        • Dimensions

        • MetricName

        • Namespace

        • Stat

        • the SingleMetricAnomalyDetector parameters of PutAnomalyDetectorInput

        Instead, specify the metric math anomaly detector attributes as part of the property MetricMathAnomalyDetector.

        Parameters:
        metricMathAnomalyDetector - The metric math anomaly detector to be created.

        When using MetricMathAnomalyDetector, you cannot include the following parameters in the same operation:

        • Dimensions

        • MetricName

        • Namespace

        • Stat

        • the SingleMetricAnomalyDetector parameters of PutAnomalyDetectorInput

        Instead, specify the metric math anomaly detector attributes as part of the property MetricMathAnomalyDetector.

        Returns:
        Returns a reference to this object so that method calls can be chained together.