@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAnomalyDetectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAnomalyDetectorRequest() |
Modifier and Type | Method and Description |
---|---|
PutAnomalyDetectorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AnomalyDetectorConfiguration |
getConfiguration()
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> |
getDimensions()
Deprecated.
|
MetricCharacteristics |
getMetricCharacteristics()
Use this object to include parameters to provide information about your metric to CloudWatch to help it build
more accurate anomaly detection models.
|
MetricMathAnomalyDetector |
getMetricMathAnomalyDetector()
The metric math anomaly detector to be created.
|
String |
getMetricName()
Deprecated.
|
String |
getNamespace()
Deprecated.
|
SingleMetricAnomalyDetector |
getSingleMetricAnomalyDetector()
A single metric anomaly detector to be created.
|
String |
getStat()
Deprecated.
|
int |
hashCode() |
void |
setConfiguration(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.
|
void |
setDimensions(Collection<Dimension> dimensions)
Deprecated.
|
void |
setMetricCharacteristics(MetricCharacteristics metricCharacteristics)
Use this object to include parameters to provide information about your metric to CloudWatch to help it build
more accurate anomaly detection models.
|
void |
setMetricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)
The metric math anomaly detector to be created.
|
void |
setMetricName(String metricName)
Deprecated.
|
void |
setNamespace(String namespace)
Deprecated.
|
void |
setSingleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)
A single metric anomaly detector to be created.
|
void |
setStat(String stat)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
PutAnomalyDetectorRequest |
withConfiguration(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.
|
PutAnomalyDetectorRequest |
withDimensions(Collection<Dimension> dimensions)
Deprecated.
|
PutAnomalyDetectorRequest |
withDimensions(Dimension... dimensions)
Deprecated.
|
PutAnomalyDetectorRequest |
withMetricCharacteristics(MetricCharacteristics metricCharacteristics)
Use this object to include parameters to provide information about your metric to CloudWatch to help it build
more accurate anomaly detection models.
|
PutAnomalyDetectorRequest |
withMetricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)
The metric math anomaly detector to be created.
|
PutAnomalyDetectorRequest |
withMetricName(String metricName)
Deprecated.
|
PutAnomalyDetectorRequest |
withNamespace(String namespace)
Deprecated.
|
PutAnomalyDetectorRequest |
withSingleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)
A single metric anomaly detector to be created.
|
PutAnomalyDetectorRequest |
withStat(String stat)
Deprecated.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
@Deprecated public void setNamespace(String namespace)
The namespace of the metric to create the anomaly detection model for.
namespace
- The namespace of the metric to create the anomaly detection model for.@Deprecated public String getNamespace()
The namespace of the metric to create the anomaly detection model for.
@Deprecated public PutAnomalyDetectorRequest withNamespace(String namespace)
The namespace of the metric to create the anomaly detection model for.
namespace
- The namespace of the metric to create the anomaly detection model for.@Deprecated public void setMetricName(String metricName)
The name of the metric to create the anomaly detection model for.
metricName
- The name of the metric to create the anomaly detection model for.@Deprecated public String getMetricName()
The name of the metric to create the anomaly detection model for.
@Deprecated public PutAnomalyDetectorRequest withMetricName(String metricName)
The name of the metric to create the anomaly detection model for.
metricName
- The name of the metric to create the anomaly detection model for.@Deprecated public List<Dimension> getDimensions()
The metric dimensions to create the anomaly detection model for.
@Deprecated public void setDimensions(Collection<Dimension> dimensions)
The metric dimensions to create the anomaly detection model for.
dimensions
- The metric dimensions to create the anomaly detection model for.@Deprecated public PutAnomalyDetectorRequest withDimensions(Dimension... dimensions)
The metric dimensions to create the anomaly detection model for.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
or withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- The metric dimensions to create the anomaly detection model for.@Deprecated public PutAnomalyDetectorRequest withDimensions(Collection<Dimension> dimensions)
The metric dimensions to create the anomaly detection model for.
dimensions
- The metric dimensions to create the anomaly detection model for.@Deprecated public void setStat(String stat)
The statistic to use for the metric and the anomaly detection model.
stat
- The statistic to use for the metric and the anomaly detection model.@Deprecated public String getStat()
The statistic to use for the metric and the anomaly detection model.
@Deprecated public PutAnomalyDetectorRequest withStat(String stat)
The statistic to use for the metric and the anomaly detection model.
stat
- The statistic to use for the metric and the anomaly detection model.public void setConfiguration(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.
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.
public AnomalyDetectorConfiguration getConfiguration()
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 withConfiguration(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.
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.
public void setMetricCharacteristics(MetricCharacteristics metricCharacteristics)
Use this object to include parameters to provide information about your metric to CloudWatch to help it build
more accurate anomaly detection models. Currently, it includes the PeriodicSpikes
parameter.
metricCharacteristics
- Use this object to include parameters to provide information about your metric to CloudWatch to help it
build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes
parameter.public MetricCharacteristics getMetricCharacteristics()
Use this object to include parameters to provide information about your metric to CloudWatch to help it build
more accurate anomaly detection models. Currently, it includes the PeriodicSpikes
parameter.
PeriodicSpikes
parameter.public PutAnomalyDetectorRequest withMetricCharacteristics(MetricCharacteristics metricCharacteristics)
Use this object to include parameters to provide information about your metric to CloudWatch to help it build
more accurate anomaly detection models. Currently, it includes the PeriodicSpikes
parameter.
metricCharacteristics
- Use this object to include parameters to provide information about your metric to CloudWatch to help it
build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes
parameter.public void setSingleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector
.
singleMetricAnomalyDetector
- A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the
same operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector
.
public SingleMetricAnomalyDetector getSingleMetricAnomalyDetector()
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector
.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the
same operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector
.
public PutAnomalyDetectorRequest withSingleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector
.
singleMetricAnomalyDetector
- A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the
same operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector
.
public void setMetricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector
.
metricMathAnomalyDetector
- The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector
.
public MetricMathAnomalyDetector getMetricMathAnomalyDetector()
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector
.
When using MetricMathAnomalyDetector
, you cannot include the following parameters in the
same operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector
.
public PutAnomalyDetectorRequest withMetricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector
.
metricMathAnomalyDetector
- The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector
, you cannot include the following parameters in the same
operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector
.
public String toString()
toString
in class Object
Object.toString()
public PutAnomalyDetectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()