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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDimension.builder().When the
Consumercompletes,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
MetricMathAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the
SingleMetricAnomalyDetectorproperty.- 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
MetricMathAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the
SingleMetricAnomalyDetectorproperty.-
- 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
MetricMathAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the
This is a convenience method that creates an instance of theSingleMetricAnomalyDetectorproperty.SingleMetricAnomalyDetector.Builderavoiding the need to create one manually viaSingleMetricAnomalyDetector.builder().When the
Consumercompletes,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
SingleMetricAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the
MetricMathAnomalyDetectorproperty.- 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
SingleMetricAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the
MetricMathAnomalyDetectorproperty.-
- 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
SingleMetricAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the
This is a convenience method that creates an instance of theMetricMathAnomalyDetectorproperty.MetricMathAnomalyDetector.Builderavoiding the need to create one manually viaMetricMathAnomalyDetector.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-