Class CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty>
A builder for
CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.getAmount()build()Builds the configured instance.Sets the value ofCfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.getRatio()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amount
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.Builder amount(Number amount) Sets the value ofCfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.getAmount()- Parameters:
amount- The absolute amount by which values can differ from expected values before being considered anomalous.- Returns:
this
-
ratio
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.Builder ratio(Number ratio) Sets the value ofCfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty.getRatio()- Parameters:
ratio- The ratio by which values can differ from expected values before being considered anomalous.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty - Throws:
NullPointerException- if any required attribute was not provided
-