Interface DeleteAnomalyDetectorRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudWatchRequest.Builder, CopyableBuilder<DeleteAnomalyDetectorRequest.Builder,DeleteAnomalyDetectorRequest>, SdkBuilder<DeleteAnomalyDetectorRequest.Builder,DeleteAnomalyDetectorRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteAnomalyDetectorRequest

public static interface DeleteAnomalyDetectorRequest.Builder extends CloudWatchRequest.Builder, SdkPojo, CopyableBuilder<DeleteAnomalyDetectorRequest.Builder,DeleteAnomalyDetectorRequest>
  • Method Details

    • namespace

      Deprecated.
      Use SingleMetricAnomalyDetector.

      The namespace associated with the anomaly detection model to delete.

      Parameters:
      namespace - The namespace associated with the anomaly detection model to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricName

      Deprecated.
      Use SingleMetricAnomalyDetector.

      The metric name associated with the anomaly detection model to delete.

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

      Deprecated.
      Use SingleMetricAnomalyDetector.

      The metric dimensions associated with the anomaly detection model to delete.

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

      Deprecated.
      Use SingleMetricAnomalyDetector.

      The metric dimensions associated with the anomaly detection model to delete.

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

      Deprecated.
      Use SingleMetricAnomalyDetector.

      The metric dimensions associated with the anomaly detection model to delete.

      This is a convenience method that creates an instance of the Dimension.Builder avoiding the need to create one manually via Dimension.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dimensions(List<Dimension>).

      Parameters:
      dimensions - a consumer that will call methods on Dimension.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stat

      Deprecated.
      Use SingleMetricAnomalyDetector.

      The statistic associated with the anomaly detection model to delete.

      Parameters:
      stat - The statistic associated with the anomaly detection model to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • singleMetricAnomalyDetector

      DeleteAnomalyDetectorRequest.Builder singleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)

      A single metric anomaly detector to be deleted.

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

      • Dimensions,

      • MetricName

      • Namespace

      • Stat

      • the MetricMathAnomalyDetector parameters of DeleteAnomalyDetectorInput

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

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

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

      • Dimensions,

      • MetricName

      • Namespace

      • Stat

      • the MetricMathAnomalyDetector parameters of DeleteAnomalyDetectorInput

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

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

      default DeleteAnomalyDetectorRequest.Builder singleMetricAnomalyDetector(Consumer<SingleMetricAnomalyDetector.Builder> singleMetricAnomalyDetector)

      A single metric anomaly detector to be deleted.

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

      • Dimensions,

      • MetricName

      • Namespace

      • Stat

      • the MetricMathAnomalyDetector parameters of DeleteAnomalyDetectorInput

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

      This is a convenience method that creates an instance of the SingleMetricAnomalyDetector.Builder avoiding the need to create one manually via SingleMetricAnomalyDetector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to singleMetricAnomalyDetector(SingleMetricAnomalyDetector).

      Parameters:
      singleMetricAnomalyDetector - a consumer that will call methods on SingleMetricAnomalyDetector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metricMathAnomalyDetector

      DeleteAnomalyDetectorRequest.Builder metricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)

      The metric math anomaly detector to be deleted.

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

      • Dimensions,

      • MetricName

      • Namespace

      • Stat

      • the SingleMetricAnomalyDetector parameters of DeleteAnomalyDetectorInput

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

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

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

      • Dimensions,

      • MetricName

      • Namespace

      • Stat

      • the SingleMetricAnomalyDetector parameters of DeleteAnomalyDetectorInput

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

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

      default DeleteAnomalyDetectorRequest.Builder metricMathAnomalyDetector(Consumer<MetricMathAnomalyDetector.Builder> metricMathAnomalyDetector)

      The metric math anomaly detector to be deleted.

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

      • Dimensions,

      • MetricName

      • Namespace

      • Stat

      • the SingleMetricAnomalyDetector parameters of DeleteAnomalyDetectorInput

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

      This is a convenience method that creates an instance of the MetricMathAnomalyDetector.Builder avoiding the need to create one manually via MetricMathAnomalyDetector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricMathAnomalyDetector(MetricMathAnomalyDetector).

      Parameters:
      metricMathAnomalyDetector - a consumer that will call methods on MetricMathAnomalyDetector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      DeleteAnomalyDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.