Class CfnDimensionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnDimensionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDimensionProps>
- Enclosing interface:
CfnDimensionProps
@Stability(Stable)
public static final class CfnDimensionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDimensionProps>
A builder for
CfnDimensionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDimensionProps.getName()stringValues(List<String> stringValues) Sets the value ofCfnDimensionProps.getStringValues()Sets the value ofCfnDimensionProps.getTags()Sets the value ofCfnDimensionProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stringValues
Sets the value ofCfnDimensionProps.getStringValues()- Parameters:
stringValues- Specifies the value or list of values for the dimension. This parameter is required. ForTOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").- Returns:
this
-
type
Sets the value ofCfnDimensionProps.getType()- Parameters:
type- Specifies the type of dimension. This parameter is required. Supported types:TOPIC_FILTER.- Returns:
this
-
name
Sets the value ofCfnDimensionProps.getName()- Parameters:
name- A unique identifier for the dimension.- Returns:
this
-
tags
Sets the value ofCfnDimensionProps.getTags()- Parameters:
tags- Metadata that can be used to manage the dimension.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDimensionProps>- Returns:
- a new instance of
CfnDimensionProps - Throws:
NullPointerException- if any required attribute was not provided
-