@Stability(value=Stable) public static final class CfnAnomalyDetector.ConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAnomalyDetector.ConfigurationProperty>
CfnAnomalyDetector.ConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAnomalyDetector.ConfigurationProperty |
build()
Builds the configured instance.
|
CfnAnomalyDetector.ConfigurationProperty.Builder |
excludedTimeRanges(IResolvable excludedTimeRanges)
Sets the value of
CfnAnomalyDetector.ConfigurationProperty.getExcludedTimeRanges() |
CfnAnomalyDetector.ConfigurationProperty.Builder |
excludedTimeRanges(List<? extends Object> excludedTimeRanges)
Sets the value of
CfnAnomalyDetector.ConfigurationProperty.getExcludedTimeRanges() |
CfnAnomalyDetector.ConfigurationProperty.Builder |
metricTimeZone(String metricTimeZone)
Sets the value of
CfnAnomalyDetector.ConfigurationProperty.getMetricTimeZone() |
@Stability(value=Stable) public CfnAnomalyDetector.ConfigurationProperty.Builder excludedTimeRanges(IResolvable excludedTimeRanges)
CfnAnomalyDetector.ConfigurationProperty.getExcludedTimeRanges()excludedTimeRanges - Specifies an array of time ranges to exclude from use when the anomaly detection model is trained and updated.
Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates or updates the model.this@Stability(value=Stable) public CfnAnomalyDetector.ConfigurationProperty.Builder excludedTimeRanges(List<? extends Object> excludedTimeRanges)
CfnAnomalyDetector.ConfigurationProperty.getExcludedTimeRanges()excludedTimeRanges - Specifies an array of time ranges to exclude from use when the anomaly detection model is trained and updated.
Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates or updates the model.this@Stability(value=Stable) public CfnAnomalyDetector.ConfigurationProperty.Builder metricTimeZone(String metricTimeZone)
CfnAnomalyDetector.ConfigurationProperty.getMetricTimeZone()metricTimeZone - The time zone to use for the metric.
This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.
To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database .
this@Stability(value=Stable) public CfnAnomalyDetector.ConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnAnomalyDetector.ConfigurationProperty>CfnAnomalyDetector.ConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.