Class CfnAnomalyDetectorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnAnomalyDetectorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin>
- Enclosing class:
CfnAnomalyDetectorPropsMixin
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin>
A fluent builder for
CfnAnomalyDetectorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe user-friendly name of the anomaly detector.build()The algorithm configuration of the anomaly detector.configuration(IResolvable configuration) The algorithm configuration of the anomaly detector.create()create(CfnPropertyMixinOptions options) evaluationIntervalInSeconds(Number evaluationIntervalInSeconds) The frequency, in seconds, at which the anomaly detector evaluates metrics.The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.labels(IResolvable labels) The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.missingDataAction(CfnAnomalyDetectorPropsMixin.MissingDataActionProperty missingDataAction) The action taken when data is missing during evaluation.missingDataAction(IResolvable missingDataAction) The action taken when data is missing during evaluation.The tags applied to the anomaly detector.An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
-
Method Details
-
create
@Stability(Stable) public static CfnAnomalyDetectorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.Builder.
-
alias
The user-friendly name of the anomaly detector.- Parameters:
alias- The user-friendly name of the anomaly detector. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder configuration(IResolvable configuration) The algorithm configuration of the anomaly detector.- Parameters:
configuration- The algorithm configuration of the anomaly detector. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder configuration(CfnAnomalyDetectorPropsMixin.AnomalyDetectorConfigurationProperty configuration) The algorithm configuration of the anomaly detector.- Parameters:
configuration- The algorithm configuration of the anomaly detector. This parameter is required.- Returns:
this- See Also:
-
evaluationIntervalInSeconds
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder evaluationIntervalInSeconds(Number evaluationIntervalInSeconds) The frequency, in seconds, at which the anomaly detector evaluates metrics.Default: - 60
- Parameters:
evaluationIntervalInSeconds- The frequency, in seconds, at which the anomaly detector evaluates metrics. This parameter is required.- Returns:
this- See Also:
-
labels
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.- Parameters:
labels- The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector. This parameter is required.- Returns:
this- See Also:
-
labels
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder labels(List<? extends Object> labels) The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.- Parameters:
labels- The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector. This parameter is required.- Returns:
this- See Also:
-
missingDataAction
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder missingDataAction(IResolvable missingDataAction) The action taken when data is missing during evaluation.- Parameters:
missingDataAction- The action taken when data is missing during evaluation. This parameter is required.- Returns:
this- See Also:
-
missingDataAction
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder missingDataAction(CfnAnomalyDetectorPropsMixin.MissingDataActionProperty missingDataAction) The action taken when data is missing during evaluation.- Parameters:
missingDataAction- The action taken when data is missing during evaluation. This parameter is required.- Returns:
this- See Also:
-
tags
The tags applied to the anomaly detector.- Parameters:
tags- The tags applied to the anomaly detector. This parameter is required.- Returns:
this- See Also:
-
workspace
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.- Parameters:
workspace- An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin>- Returns:
- a newly built instance of
CfnAnomalyDetectorPropsMixin.
-