Class CfnDimension.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnDimension.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDimension>
- Enclosing class:
CfnDimension
@Stability(Stable)
public static final class CfnDimension.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDimension>
A fluent builder for
CfnDimension.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDimension.BuilderA unique identifier for the dimension.stringValues(List<String> stringValues) Specifies the value or list of values for the dimension.Metadata that can be used to manage the dimension.Specifies the type of dimension.
-
Method Details
-
create
@Stability(Stable) public static CfnDimension.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDimension.Builder.
-
stringValues
Specifies the value or list of values for the dimension.For
TOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").- Parameters:
stringValues- Specifies the value or list of values for the dimension. This parameter is required.- Returns:
this- See Also:
-
type
Specifies the type of dimension.Supported types:
TOPIC_FILTER.- Parameters:
type- Specifies the type of dimension. This parameter is required.- Returns:
this- See Also:
-
name
A unique identifier for the dimension.- Parameters:
name- A unique identifier for the dimension. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata that can be used to manage the dimension.- Parameters:
tags- Metadata that can be used to manage the dimension. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDimension>- Returns:
- a newly built instance of
CfnDimension.
-