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