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