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