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.Builder
A 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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDimension.Builder
.
-
stringValues
Specifies the value or list of values for the dimension.For
TOPIC_FILTER
dimensions, 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
-
type
Specifies the type of dimension.Supported types:
TOPIC_FILTER.
- Parameters:
type
- Specifies the type of dimension. This parameter is required.- Returns:
this
-
name
A unique identifier for the dimension.- Parameters:
name
- A unique identifier for the dimension. This parameter is required.- Returns:
this
-
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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDimension>
- Returns:
- a newly built instance of
CfnDimension
.
-