Class CfnTopicRule.TimestreamDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.TimestreamDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.TimestreamDimensionProperty>
- Enclosing interface:
- CfnTopicRule.TimestreamDimensionProperty
@Stability(Stable)
public static final class CfnTopicRule.TimestreamDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.TimestreamDimensionProperty>
A builder for
CfnTopicRule.TimestreamDimensionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTopicRule.TimestreamDimensionProperty.getName()
Sets the value ofCfnTopicRule.TimestreamDimensionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnTopicRule.TimestreamDimensionProperty.getName()
- Parameters:
name
- The metadata dimension name. This parameter is required. This is the name of the column in the Amazon Timestream database table record.- Returns:
this
-
value
Sets the value ofCfnTopicRule.TimestreamDimensionProperty.getValue()
- Parameters:
value
- The value to write in this column of the database record. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.TimestreamDimensionProperty>
- Returns:
- a new instance of
CfnTopicRule.TimestreamDimensionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-