Class CfnServiceLevelObjectivePropsMixin.DimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.applicationsignals.mixins.CfnServiceLevelObjectivePropsMixin.DimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.DimensionProperty>
- Enclosing interface:
CfnServiceLevelObjectivePropsMixin.DimensionProperty
@Stability(Stable)
public static final class CfnServiceLevelObjectivePropsMixin.DimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.DimensionProperty>
A builder for
CfnServiceLevelObjectivePropsMixin.DimensionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServiceLevelObjectivePropsMixin.DimensionProperty.getName()Sets the value ofCfnServiceLevelObjectivePropsMixin.DimensionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.DimensionProperty.Builder name(String name) Sets the value ofCfnServiceLevelObjectivePropsMixin.DimensionProperty.getName()- Parameters:
name- The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.- Returns:
this
-
value
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.DimensionProperty.Builder value(String value) Sets the value ofCfnServiceLevelObjectivePropsMixin.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<CfnServiceLevelObjectivePropsMixin.DimensionProperty>- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.DimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-