Interface DeleteAnomalyDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchRequest.Builder
,CopyableBuilder<DeleteAnomalyDetectorRequest.Builder,
,DeleteAnomalyDetectorRequest> SdkBuilder<DeleteAnomalyDetectorRequest.Builder,
,DeleteAnomalyDetectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteAnomalyDetectorRequest
-
Method Summary
Modifier and TypeMethodDescriptiondimensions
(Collection<Dimension> dimensions) Deprecated.Use SingleMetricAnomalyDetector.dimensions
(Consumer<Dimension.Builder>... dimensions) Deprecated.Use SingleMetricAnomalyDetector.dimensions
(Dimension... dimensions) Deprecated.Use SingleMetricAnomalyDetector.metricMathAnomalyDetector
(Consumer<MetricMathAnomalyDetector.Builder> metricMathAnomalyDetector) The metric math anomaly detector to be deleted.metricMathAnomalyDetector
(MetricMathAnomalyDetector metricMathAnomalyDetector) The metric math anomaly detector to be deleted.metricName
(String metricName) Deprecated.Use SingleMetricAnomalyDetector.Deprecated.Use SingleMetricAnomalyDetector.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.singleMetricAnomalyDetector
(Consumer<SingleMetricAnomalyDetector.Builder> singleMetricAnomalyDetector) A single metric anomaly detector to be deleted.singleMetricAnomalyDetector
(SingleMetricAnomalyDetector singleMetricAnomalyDetector) A single metric anomaly detector to be deleted.Deprecated.Use SingleMetricAnomalyDetector.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 DeleteAnomalyDetectorRequest.Builder dimensions(Consumer<Dimension.Builder>... 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 theDimension.Builder
avoiding the need to create one manually viaDimension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(List<Dimension>)
.- Parameters:
dimensions
- a consumer that will call methods onDimension.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 ofDeleteAnomalyDetectorInput
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 ofDeleteAnomalyDetectorInput
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 ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the
This is a convenience method that creates an instance of theSingleMetricAnomalyDetector
property.SingleMetricAnomalyDetector.Builder
avoiding the need to create one manually viaSingleMetricAnomalyDetector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosingleMetricAnomalyDetector(SingleMetricAnomalyDetector)
.- Parameters:
singleMetricAnomalyDetector
- a consumer that will call methods onSingleMetricAnomalyDetector.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 ofDeleteAnomalyDetectorInput
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 ofDeleteAnomalyDetectorInput
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 ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the
This is a convenience method that creates an instance of theMetricMathAnomalyDetector
property.MetricMathAnomalyDetector.Builder
avoiding the need to create one manually viaMetricMathAnomalyDetector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricMathAnomalyDetector(MetricMathAnomalyDetector)
.- Parameters:
metricMathAnomalyDetector
- a consumer that will call methods onMetricMathAnomalyDetector.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteAnomalyDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-