public static final class CfnDetectorModel.IotSiteWiseProperty.Builder
extends java.lang.Object
CfnDetectorModel.IotSiteWiseProperty
Constructor and Description |
---|
Builder() |
public CfnDetectorModel.IotSiteWiseProperty.Builder propertyValue(IResolvable propertyValue)
CfnDetectorModel.IotSiteWiseProperty.getPropertyValue()
propertyValue
- The value to send to the asset property. This parameter is required.
This value contains timestamp, quality, and value (TQV) information.this
public CfnDetectorModel.IotSiteWiseProperty.Builder propertyValue(CfnDetectorModel.AssetPropertyValueProperty propertyValue)
CfnDetectorModel.IotSiteWiseProperty.getPropertyValue()
propertyValue
- The value to send to the asset property. This parameter is required.
This value contains timestamp, quality, and value (TQV) information.this
public CfnDetectorModel.IotSiteWiseProperty.Builder assetId(java.lang.String assetId)
CfnDetectorModel.IotSiteWiseProperty.getAssetId()
assetId
- The ID of the asset that has the specified property.this
public CfnDetectorModel.IotSiteWiseProperty.Builder entryId(java.lang.String entryId)
CfnDetectorModel.IotSiteWiseProperty.getEntryId()
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.this
public CfnDetectorModel.IotSiteWiseProperty.Builder propertyAlias(java.lang.String propertyAlias)
CfnDetectorModel.IotSiteWiseProperty.getPropertyAlias()
propertyAlias
- The alias of the asset property.this
public CfnDetectorModel.IotSiteWiseProperty.Builder propertyId(java.lang.String propertyId)
CfnDetectorModel.IotSiteWiseProperty.getPropertyId()
propertyId
- The ID of the asset property.this
public CfnDetectorModel.IotSiteWiseProperty build()
CfnDetectorModel.IotSiteWiseProperty
java.lang.NullPointerException
- if any required attribute was not provided