Class CfnTopicRulePropsMixin.AssetPropertyTimestampProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.AssetPropertyTimestampProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRulePropsMixin.AssetPropertyTimestampProperty>
- Enclosing interface:
CfnTopicRulePropsMixin.AssetPropertyTimestampProperty
@Stability(Stable)
public static final class CfnTopicRulePropsMixin.AssetPropertyTimestampProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRulePropsMixin.AssetPropertyTimestampProperty>
A builder for
CfnTopicRulePropsMixin.AssetPropertyTimestampProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.offsetInNanos(String offsetInNanos) Sets the value ofCfnTopicRulePropsMixin.AssetPropertyTimestampProperty.getOffsetInNanos()timeInSeconds(String timeInSeconds) Sets the value ofCfnTopicRulePropsMixin.AssetPropertyTimestampProperty.getTimeInSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
offsetInNanos
@Stability(Stable) public CfnTopicRulePropsMixin.AssetPropertyTimestampProperty.Builder offsetInNanos(String offsetInNanos) Sets the value ofCfnTopicRulePropsMixin.AssetPropertyTimestampProperty.getOffsetInNanos()- Parameters:
offsetInNanos- Optional. A string that contains the nanosecond time offset. Accepts substitution templates.- Returns:
this
-
timeInSeconds
@Stability(Stable) public CfnTopicRulePropsMixin.AssetPropertyTimestampProperty.Builder timeInSeconds(String timeInSeconds) Sets the value ofCfnTopicRulePropsMixin.AssetPropertyTimestampProperty.getTimeInSeconds()- Parameters:
timeInSeconds- A string that contains the time in seconds since epoch. Accepts substitution templates.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRulePropsMixin.AssetPropertyTimestampProperty>- Returns:
- a new instance of
CfnTopicRulePropsMixin.AssetPropertyTimestampProperty - Throws:
NullPointerException- if any required attribute was not provided
-