@Generated(value="software.amazon.awssdk:codegen") public final class PutAnomalyDetectorRequest extends CloudWatchRequest implements ToCopyableBuilder<PutAnomalyDetectorRequest.Builder,PutAnomalyDetectorRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutAnomalyDetectorRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutAnomalyDetectorRequest.Builder |
builder() |
AnomalyDetectorConfiguration |
configuration()
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges
to exclude when training and updating the model.
|
List<Dimension> |
dimensions()
The metric dimensions to create the anomaly detection model for.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensions()
Returns true if the Dimensions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
metricName()
The name of the metric to create the anomaly detection model for.
|
String |
namespace()
The namespace of the metric to create the anomaly detection model for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutAnomalyDetectorRequest.Builder> |
serializableBuilderClass() |
String |
stat()
The statistic to use for the metric and the anomaly detection model.
|
PutAnomalyDetectorRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String namespace()
The namespace of the metric to create the anomaly detection model for.
public String metricName()
The name of the metric to create the anomaly detection model for.
public boolean hasDimensions()
public List<Dimension> dimensions()
The metric dimensions to create the anomaly detection model for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDimensions() to see if a value was sent in this field.
public String stat()
The statistic to use for the metric and the anomaly detection model.
public AnomalyDetectorConfiguration configuration()
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
The configuration can also include the time zone to use for the metric.
public PutAnomalyDetectorRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutAnomalyDetectorRequest.Builder,PutAnomalyDetectorRequest>toBuilder in class CloudWatchRequestpublic static PutAnomalyDetectorRequest.Builder builder()
public static Class<? extends PutAnomalyDetectorRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.