Class CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty>
- Enclosing interface:
CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty
@Stability(Stable)
public static final class CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.offsetInNanos(String offsetInNanos) timeInSeconds(String timeInSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
offsetInNanos
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty.Builder offsetInNanos(String offsetInNanos) - Parameters:
offsetInNanos- The nanosecond offset converted fromtimeInSeconds. The valid range is between 0-999999999.- Returns:
this
-
timeInSeconds
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty.Builder timeInSeconds(String timeInSeconds) - Parameters:
timeInSeconds- The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty>- Returns:
- a new instance of
CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty - Throws:
NullPointerException- if any required attribute was not provided
-