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