Class CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetector.RandomCutForestConfigurationProperty>
- Enclosing interface:
CfnAnomalyDetector.RandomCutForestConfigurationProperty
@Stability(Stable)
public static final class CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector.RandomCutForestConfigurationProperty>
A builder for
CfnAnomalyDetector.RandomCutForestConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ignoreNearExpectedFromAbove(IResolvable ignoreNearExpectedFromAbove) ignoreNearExpectedFromAbove(CfnAnomalyDetector.IgnoreNearExpectedProperty ignoreNearExpectedFromAbove) ignoreNearExpectedFromBelow(IResolvable ignoreNearExpectedFromBelow) ignoreNearExpectedFromBelow(CfnAnomalyDetector.IgnoreNearExpectedProperty ignoreNearExpectedFromBelow) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getQuery()sampleSize(Number sampleSize) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getSampleSize()shingleSize(Number shingleSize) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getShingleSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
query
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder query(String query) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getQuery()- Parameters:
query- the value to be set. This parameter is required.- Returns:
this
-
ignoreNearExpectedFromAbove
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder ignoreNearExpectedFromAbove(IResolvable ignoreNearExpectedFromAbove) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getIgnoreNearExpectedFromAbove()- Parameters:
ignoreNearExpectedFromAbove- the value to be set.- Returns:
this
-
ignoreNearExpectedFromAbove
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder ignoreNearExpectedFromAbove(CfnAnomalyDetector.IgnoreNearExpectedProperty ignoreNearExpectedFromAbove) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getIgnoreNearExpectedFromAbove()- Parameters:
ignoreNearExpectedFromAbove- the value to be set.- Returns:
this
-
ignoreNearExpectedFromBelow
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder ignoreNearExpectedFromBelow(IResolvable ignoreNearExpectedFromBelow) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getIgnoreNearExpectedFromBelow()- Parameters:
ignoreNearExpectedFromBelow- the value to be set.- Returns:
this
-
ignoreNearExpectedFromBelow
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder ignoreNearExpectedFromBelow(CfnAnomalyDetector.IgnoreNearExpectedProperty ignoreNearExpectedFromBelow) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getIgnoreNearExpectedFromBelow()- Parameters:
ignoreNearExpectedFromBelow- the value to be set.- Returns:
this
-
sampleSize
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder sampleSize(Number sampleSize) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getSampleSize()- Parameters:
sampleSize- the value to be set.- Returns:
this
-
shingleSize
@Stability(Stable) public CfnAnomalyDetector.RandomCutForestConfigurationProperty.Builder shingleSize(Number shingleSize) Sets the value ofCfnAnomalyDetector.RandomCutForestConfigurationProperty.getShingleSize()- Parameters:
shingleSize- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector.RandomCutForestConfigurationProperty>- Returns:
- a new instance of
CfnAnomalyDetector.RandomCutForestConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-