Class CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.AssetPropertyValueProperty>
- Enclosing interface:
CfnDetectorModelPropsMixin.AssetPropertyValueProperty
@Stability(Stable)
public static final class CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.AssetPropertyValueProperty>
A builder for
CfnDetectorModelPropsMixin.AssetPropertyValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getQuality()Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getTimestamp()timestamp(IResolvable timestamp) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getTimestamp()Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getValue()value(IResolvable value) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
quality
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder quality(String quality) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getQuality()- Parameters:
quality- The quality of the asset property value. The value must be'GOOD','BAD', or'UNCERTAIN'.- Returns:
this
-
timestamp
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder timestamp(IResolvable timestamp) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getTimestamp()- Parameters:
timestamp- The timestamp associated with the asset property value. The default is the current event time.- Returns:
this
-
timestamp
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder timestamp(CfnDetectorModelPropsMixin.AssetPropertyTimestampProperty timestamp) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getTimestamp()- Parameters:
timestamp- The timestamp associated with the asset property value. The default is the current event time.- Returns:
this
-
value
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder value(IResolvable value) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getValue()- Parameters:
value- The value to send to an asset property.- Returns:
this
-
value
@Stability(Stable) public CfnDetectorModelPropsMixin.AssetPropertyValueProperty.Builder value(CfnDetectorModelPropsMixin.AssetPropertyVariantProperty value) Sets the value ofCfnDetectorModelPropsMixin.AssetPropertyValueProperty.getValue()- Parameters:
value- The value to send to an asset property.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModelPropsMixin.AssetPropertyValueProperty>- Returns:
- a new instance of
CfnDetectorModelPropsMixin.AssetPropertyValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-