Interface AnomalyDetectorConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnomalyDetectorConfiguration.Builder,,AnomalyDetectorConfiguration> SdkBuilder<AnomalyDetectorConfiguration.Builder,,AnomalyDetectorConfiguration> SdkPojo
- Enclosing class:
AnomalyDetectorConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionadaptationSpeed(String adaptationSpeed) The speed at which the anomaly detection model adapts to sustained changes in the metric's baseline.adaptationSpeed(AnomalyDetectorAdaptationSpeed adaptationSpeed) The speed at which the anomaly detection model adapts to sustained changes in the metric's baseline.excludedTimeRanges(Collection<Range> excludedTimeRanges) An array of time ranges to exclude from use when the anomaly detection model is trained.excludedTimeRanges(Consumer<Range.Builder>... excludedTimeRanges) An array of time ranges to exclude from use when the anomaly detection model is trained.excludedTimeRanges(Range... excludedTimeRanges) An array of time ranges to exclude from use when the anomaly detection model is trained.metricTimezone(String metricTimezone) The time zone to use for the metric.outlierFilteringStrength(String outlierFilteringStrength) The aggressiveness with which CloudWatch filters outliers from the metric data that the anomaly detection model uses.outlierFilteringStrength(AnomalyDetectorOutlierFilteringStrength outlierFilteringStrength) The aggressiveness with which CloudWatch filters outliers from the metric data that the anomaly detection model uses.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
excludedTimeRanges
An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.
- Parameters:
excludedTimeRanges- An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedTimeRanges
An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.
- Parameters:
excludedTimeRanges- An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedTimeRanges
AnomalyDetectorConfiguration.Builder excludedTimeRanges(Consumer<Range.Builder>... excludedTimeRanges) An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.
This is a convenience method that creates an instance of theRange.Builderavoiding the need to create one manually viaRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexcludedTimeRanges(List<Range>).- Parameters:
excludedTimeRanges- a consumer that will call methods onRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adaptationSpeed
The speed at which the anomaly detection model adapts to sustained changes in the metric's baseline. Faster adaptation lets the model track shifting workloads sooner, but increases the chance that the model treats a real, lasting change as normal.
Valid values:
-
FAST- The model adapts quickly to sustained changes in the baseline. -
NORMAL- The model adapts at a moderate pace. This is the default value. -
SLOW- The model adapts slowly, reducing the risk of treating a real change as normal.
- Parameters:
adaptationSpeed- The speed at which the anomaly detection model adapts to sustained changes in the metric's baseline. Faster adaptation lets the model track shifting workloads sooner, but increases the chance that the model treats a real, lasting change as normal.Valid values:
-
FAST- The model adapts quickly to sustained changes in the baseline. -
NORMAL- The model adapts at a moderate pace. This is the default value. -
SLOW- The model adapts slowly, reducing the risk of treating a real change as normal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
adaptationSpeed
AnomalyDetectorConfiguration.Builder adaptationSpeed(AnomalyDetectorAdaptationSpeed adaptationSpeed) The speed at which the anomaly detection model adapts to sustained changes in the metric's baseline. Faster adaptation lets the model track shifting workloads sooner, but increases the chance that the model treats a real, lasting change as normal.
Valid values:
-
FAST- The model adapts quickly to sustained changes in the baseline. -
NORMAL- The model adapts at a moderate pace. This is the default value. -
SLOW- The model adapts slowly, reducing the risk of treating a real change as normal.
- Parameters:
adaptationSpeed- The speed at which the anomaly detection model adapts to sustained changes in the metric's baseline. Faster adaptation lets the model track shifting workloads sooner, but increases the chance that the model treats a real, lasting change as normal.Valid values:
-
FAST- The model adapts quickly to sustained changes in the baseline. -
NORMAL- The model adapts at a moderate pace. This is the default value. -
SLOW- The model adapts slowly, reducing the risk of treating a real change as normal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
outlierFilteringStrength
The aggressiveness with which CloudWatch filters outliers from the metric data that the anomaly detection model uses. Stronger filtering excludes more extreme values, which can produce a tighter band of expected values but may also suppress legitimate spikes.
Valid values:
-
MINIMAL- Excludes only the most extreme outliers. -
MODERATE- Excludes a moderate range of outliers. This is the default value. -
STRICT- Excludes a wider range of outliers, which can suppress legitimate spikes.
- Parameters:
outlierFilteringStrength- The aggressiveness with which CloudWatch filters outliers from the metric data that the anomaly detection model uses. Stronger filtering excludes more extreme values, which can produce a tighter band of expected values but may also suppress legitimate spikes.Valid values:
-
MINIMAL- Excludes only the most extreme outliers. -
MODERATE- Excludes a moderate range of outliers. This is the default value. -
STRICT- Excludes a wider range of outliers, which can suppress legitimate spikes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
outlierFilteringStrength
AnomalyDetectorConfiguration.Builder outlierFilteringStrength(AnomalyDetectorOutlierFilteringStrength outlierFilteringStrength) The aggressiveness with which CloudWatch filters outliers from the metric data that the anomaly detection model uses. Stronger filtering excludes more extreme values, which can produce a tighter band of expected values but may also suppress legitimate spikes.
Valid values:
-
MINIMAL- Excludes only the most extreme outliers. -
MODERATE- Excludes a moderate range of outliers. This is the default value. -
STRICT- Excludes a wider range of outliers, which can suppress legitimate spikes.
- Parameters:
outlierFilteringStrength- The aggressiveness with which CloudWatch filters outliers from the metric data that the anomaly detection model uses. Stronger filtering excludes more extreme values, which can produce a tighter band of expected values but may also suppress legitimate spikes.Valid values:
-
MINIMAL- Excludes only the most extreme outliers. -
MODERATE- Excludes a moderate range of outliers. This is the default value. -
STRICT- Excludes a wider range of outliers, which can suppress legitimate spikes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-