Class CfnAlarmModel.IotSiteWiseProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.IotSiteWiseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.IotSiteWiseProperty>
- Enclosing interface:
CfnAlarmModel.IotSiteWiseProperty
@Stability(Stable)
public static final class CfnAlarmModel.IotSiteWiseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.IotSiteWiseProperty>
A builder for
CfnAlarmModel.IotSiteWiseProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAlarmModel.IotSiteWiseProperty.getAssetId()build()Builds the configured instance.Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getEntryId()propertyAlias(String propertyAlias) Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getPropertyAlias()propertyId(String propertyId) Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getPropertyId()propertyValue(IResolvable propertyValue) Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getPropertyValue()propertyValue(CfnAlarmModel.AssetPropertyValueProperty propertyValue) Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getPropertyValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetId
Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getAssetId()- Parameters:
assetId- The ID of the asset that has the specified property.- Returns:
this
-
entryId
Sets the value ofCfnAlarmModel.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 CfnAlarmModel.IotSiteWiseProperty.Builder propertyAlias(String propertyAlias) Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getPropertyAlias()- Parameters:
propertyAlias- The alias of the asset property.- Returns:
this
-
propertyId
Sets the value ofCfnAlarmModel.IotSiteWiseProperty.getPropertyId()- Parameters:
propertyId- The ID of the asset property.- Returns:
this
-
propertyValue
@Stability(Stable) public CfnAlarmModel.IotSiteWiseProperty.Builder propertyValue(IResolvable propertyValue) Sets the value ofCfnAlarmModel.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 CfnAlarmModel.IotSiteWiseProperty.Builder propertyValue(CfnAlarmModel.AssetPropertyValueProperty propertyValue) Sets the value ofCfnAlarmModel.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<CfnAlarmModel.IotSiteWiseProperty>- Returns:
- a new instance of
CfnAlarmModel.IotSiteWiseProperty - Throws:
NullPointerException- if any required attribute was not provided
-