@Stability(value=Stable)
public static interface CfnTopicRule.PutAssetPropertyValueEntryProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder
A builder for
CfnTopicRule.PutAssetPropertyValueEntryProperty |
static class |
CfnTopicRule.PutAssetPropertyValueEntryProperty.Jsii$Proxy
An implementation for
CfnTopicRule.PutAssetPropertyValueEntryProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder |
builder() |
default String |
getAssetId()
The ID of the AWS IoT SiteWise asset.
|
default String |
getEntryId()
Optional.
|
default String |
getPropertyAlias()
The name of the property alias associated with your asset property.
|
default String |
getPropertyId()
The ID of the asset's property.
|
Object |
getPropertyValues()
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
|
@Stability(value=Stable) @NotNull Object getPropertyValues()
@Stability(value=Stable) @Nullable default String getAssetId()
You must specify either a propertyAlias or both an aliasId and a propertyId . Accepts substitution templates.
@Stability(value=Stable) @Nullable default String getEntryId()
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.
@Stability(value=Stable) @Nullable default String getPropertyAlias()
You must specify either a propertyAlias or both an aliasId and a propertyId . Accepts substitution templates.
@Stability(value=Stable) @Nullable default String getPropertyId()
You must specify either a propertyAlias or both an aliasId and a propertyId . Accepts substitution templates.
@Stability(value=Stable) static CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder builder()
Copyright © 2022. All rights reserved.