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