public static final class CfnAnomalyDetector.DimensionProperty.Builder
extends java.lang.Object
CfnAnomalyDetector.DimensionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAnomalyDetector.DimensionProperty |
build()
Builds the configured instance.
|
CfnAnomalyDetector.DimensionProperty.Builder |
name(java.lang.String name)
Sets the value of
CfnAnomalyDetector.DimensionProperty.getName() |
CfnAnomalyDetector.DimensionProperty.Builder |
value(java.lang.String value)
Sets the value of
CfnAnomalyDetector.DimensionProperty.getValue() |
public CfnAnomalyDetector.DimensionProperty.Builder name(java.lang.String name)
CfnAnomalyDetector.DimensionProperty.getName()
name
- The name of the dimension. This parameter is required.this
public CfnAnomalyDetector.DimensionProperty.Builder value(java.lang.String value)
CfnAnomalyDetector.DimensionProperty.getValue()
value
- The value of the dimension. This parameter is required.
Dimension values must contain only ASCII characters and must include at least one non-whitespace character.this
public CfnAnomalyDetector.DimensionProperty build()
CfnAnomalyDetector.DimensionProperty
java.lang.NullPointerException
- if any required attribute was not provided