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