@Generated(value="software.amazon.awssdk:codegen") public final class DeleteAnomalyDetectorRequest extends CloudWatchRequest implements ToCopyableBuilder<DeleteAnomalyDetectorRequest.Builder,DeleteAnomalyDetectorRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteAnomalyDetectorRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteAnomalyDetectorRequest.Builder |
builder() |
List<Dimension> |
dimensions()
Deprecated.
Use SingleMetricAnomalyDetector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensions()
Deprecated.
Use SingleMetricAnomalyDetector.
|
int |
hashCode() |
MetricMathAnomalyDetector |
metricMathAnomalyDetector()
The metric math anomaly detector to be deleted.
|
String |
metricName()
Deprecated.
Use SingleMetricAnomalyDetector.
|
String |
namespace()
Deprecated.
Use SingleMetricAnomalyDetector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteAnomalyDetectorRequest.Builder> |
serializableBuilderClass() |
SingleMetricAnomalyDetector |
singleMetricAnomalyDetector()
A single metric anomaly detector to be deleted.
|
String |
stat()
Deprecated.
Use SingleMetricAnomalyDetector.
|
DeleteAnomalyDetectorRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopy@Deprecated public final String namespace()
The namespace associated with the anomaly detection model to delete.
@Deprecated public final String metricName()
The metric name associated with the anomaly detection model to delete.
@Deprecated public final boolean hasDimensions()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.@Deprecated public final List<Dimension> dimensions()
The metric dimensions associated with the anomaly detection model to delete.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDimensions() method.
@Deprecated public final String stat()
The statistic associated with the anomaly detection model to delete.
public final 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.
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.
public final 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.
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.
public DeleteAnomalyDetectorRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteAnomalyDetectorRequest.Builder,DeleteAnomalyDetectorRequest>toBuilder in class CloudWatchRequestpublic static DeleteAnomalyDetectorRequest.Builder builder()
public static Class<? extends DeleteAnomalyDetectorRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.