Class CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.IotSiteWiseProperty>
- Enclosing interface:
CfnAlarmModelPropsMixin.IotSiteWiseProperty
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.IotSiteWiseProperty>
A builder for
CfnAlarmModelPropsMixin.IotSiteWiseProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getAssetId()build()Builds the configured instance.Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getEntryId()propertyAlias(String propertyAlias) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyAlias()propertyId(String propertyId) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyId()propertyValue(CfnAlarmModelPropsMixin.AssetPropertyValueProperty propertyValue) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyValue()propertyValue(IResolvable propertyValue) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetId
@Stability(Stable) public CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder assetId(String assetId) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getAssetId()- Parameters:
assetId- The ID of the asset that has the specified property.- Returns:
this
-
entryId
@Stability(Stable) public CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder entryId(String entryId) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getEntryId()- Parameters:
entryId- A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.- Returns:
this
-
propertyAlias
@Stability(Stable) public CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder propertyAlias(String propertyAlias) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyAlias()- Parameters:
propertyAlias- The alias of the asset property.- Returns:
this
-
propertyId
@Stability(Stable) public CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder propertyId(String propertyId) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyId()- Parameters:
propertyId- The ID of the asset property.- Returns:
this
-
propertyValue
@Stability(Stable) public CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder propertyValue(IResolvable propertyValue) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyValue()- Parameters:
propertyValue- The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.- Returns:
this
-
propertyValue
@Stability(Stable) public CfnAlarmModelPropsMixin.IotSiteWiseProperty.Builder propertyValue(CfnAlarmModelPropsMixin.AssetPropertyValueProperty propertyValue) Sets the value ofCfnAlarmModelPropsMixin.IotSiteWiseProperty.getPropertyValue()- Parameters:
propertyValue- The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModelPropsMixin.IotSiteWiseProperty>- Returns:
- a new instance of
CfnAlarmModelPropsMixin.IotSiteWiseProperty - Throws:
NullPointerException- if any required attribute was not provided
-