Class CfnAnomalyDetector.MissingDataActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnAnomalyDetector.MissingDataActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetector.MissingDataActionProperty>
- Enclosing interface:
CfnAnomalyDetector.MissingDataActionProperty
@Stability(Stable)
public static final class CfnAnomalyDetector.MissingDataActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector.MissingDataActionProperty>
A builder for
CfnAnomalyDetector.MissingDataActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.markAsAnomaly(Boolean markAsAnomaly) Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getMarkAsAnomaly()markAsAnomaly(IResolvable markAsAnomaly) Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getMarkAsAnomaly()Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getSkip()skip(IResolvable skip) Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getSkip()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
markAsAnomaly
@Stability(Stable) public CfnAnomalyDetector.MissingDataActionProperty.Builder markAsAnomaly(Boolean markAsAnomaly) Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getMarkAsAnomaly()- Parameters:
markAsAnomaly- the value to be set.- Returns:
this
-
markAsAnomaly
@Stability(Stable) public CfnAnomalyDetector.MissingDataActionProperty.Builder markAsAnomaly(IResolvable markAsAnomaly) Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getMarkAsAnomaly()- Parameters:
markAsAnomaly- the value to be set.- Returns:
this
-
skip
Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getSkip()- Parameters:
skip- the value to be set.- Returns:
this
-
skip
@Stability(Stable) public CfnAnomalyDetector.MissingDataActionProperty.Builder skip(IResolvable skip) Sets the value ofCfnAnomalyDetector.MissingDataActionProperty.getSkip()- Parameters:
skip- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector.MissingDataActionProperty>- Returns:
- a new instance of
CfnAnomalyDetector.MissingDataActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-