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