Interface CfnTopicRule.PutAssetPropertyValueEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRule.PutAssetPropertyValueEntryProperty.Jsii$Proxy
- Enclosing class:
- CfnTopicRule
@Stability(Stable)
public static interface CfnTopicRule.PutAssetPropertyValueEntryProperty
extends software.amazon.jsii.JsiiSerializable
An asset property value entry containing the following information.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
PutAssetPropertyValueEntryProperty putAssetPropertyValueEntryProperty = PutAssetPropertyValueEntryProperty.builder()
.propertyValues(List.of(AssetPropertyValueProperty.builder()
.timestamp(AssetPropertyTimestampProperty.builder()
.timeInSeconds("timeInSeconds")
// the properties below are optional
.offsetInNanos("offsetInNanos")
.build())
.value(AssetPropertyVariantProperty.builder()
.booleanValue("booleanValue")
.doubleValue("doubleValue")
.integerValue("integerValue")
.stringValue("stringValue")
.build())
// the properties below are optional
.quality("quality")
.build()))
// the properties below are optional
.assetId("assetId")
.entryId("entryId")
.propertyAlias("propertyAlias")
.propertyId("propertyId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRule.PutAssetPropertyValueEntryPropertystatic final classAn implementation forCfnTopicRule.PutAssetPropertyValueEntryProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ID of the AWS IoT SiteWise asset.default StringOptional.default StringThe name of the property alias associated with your asset property.default StringThe ID of the asset's property.A list of property values to insert that each contain timestamp, quality, and value (TQV) information.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPropertyValues
A list of property values to insert that each contain timestamp, quality, and value (TQV) information. -
getAssetId
The ID of the AWS IoT SiteWise asset.You must specify either a
propertyAliasor both analiasIdand apropertyId. Accepts substitution templates. -
getEntryId
Optional.A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
-
getPropertyAlias
The name of the property alias associated with your asset property.You must specify either a
propertyAliasor both analiasIdand apropertyId. Accepts substitution templates. -
getPropertyId
The ID of the asset's property.You must specify either a
propertyAliasor both analiasIdand apropertyId. Accepts substitution templates. -
builder
-