Class CfnTopicRule.TimestreamTimestampProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.TimestreamTimestampProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.TimestreamTimestampProperty>
- Enclosing interface:
- CfnTopicRule.TimestreamTimestampProperty
@Stability(Stable)
public static final class CfnTopicRule.TimestreamTimestampProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.TimestreamTimestampProperty>
A builder for
CfnTopicRule.TimestreamTimestampProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTopicRule.TimestreamTimestampProperty.getUnit()
Sets the value ofCfnTopicRule.TimestreamTimestampProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
unit
Sets the value ofCfnTopicRule.TimestreamTimestampProperty.getUnit()
- Parameters:
unit
- The precision of the timestamp value that results from the expression described invalue
. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnTopicRule.TimestreamTimestampProperty.getValue()
- Parameters:
value
- An expression that returns a long epoch time value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.TimestreamTimestampProperty>
- Returns:
- a new instance of
CfnTopicRule.TimestreamTimestampProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-