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