Class CfnAnomalyDetectorPropsMixin.DimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cloudwatch.mixins.CfnAnomalyDetectorPropsMixin.DimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.DimensionProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.DimensionProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.DimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.DimensionProperty>
A builder for
CfnAnomalyDetectorPropsMixin.DimensionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnomalyDetectorPropsMixin.DimensionProperty.getName()Sets the value ofCfnAnomalyDetectorPropsMixin.DimensionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnAnomalyDetectorPropsMixin.DimensionProperty.getName()- Parameters:
name- The name of the dimension.- Returns:
this
-
value
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.DimensionProperty.Builder value(String value) Sets the value ofCfnAnomalyDetectorPropsMixin.DimensionProperty.getValue()- Parameters:
value- The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.DimensionProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.DimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-