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 Summary
-
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 Detail
-
namespace
@Deprecated DeleteAnomalyDetectorRequest.Builder namespace(String 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 DeleteAnomalyDetectorRequest.Builder metricName(String 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 DeleteAnomalyDetectorRequest.Builder dimensions(Collection<Dimension> 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(Dimension... 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 to#dimensions(List
.) - 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:
#dimensions(java.util.Collection
)
-
stat
@Deprecated DeleteAnomalyDetectorRequest.Builder stat(String 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:
singleMetricAnomalyDetector(SingleMetricAnomalyDetector)
-
-
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:
metricMathAnomalyDetector(MetricMathAnomalyDetector)
-
-
overrideConfiguration
DeleteAnomalyDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteAnomalyDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-