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