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();
 
  • Method Details

    • getPropertyValues

      @Stability(Stable) @NotNull Object getPropertyValues()
      A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
    • getAssetId

      @Stability(Stable) @Nullable default String getAssetId()
      The ID of the AWS IoT SiteWise asset.

      You must specify either a propertyAlias or both an aliasId and a propertyId . Accepts substitution templates.

    • getEntryId

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default String getPropertyAlias()
      The name of the property alias associated with your asset property.

      You must specify either a propertyAlias or both an aliasId and a propertyId . Accepts substitution templates.

    • getPropertyId

      @Stability(Stable) @Nullable default String getPropertyId()
      The ID of the asset's property.

      You must specify either a propertyAlias or both an aliasId and a propertyId . Accepts substitution templates.

    • builder

      @Stability(Stable) static CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder builder()
      Returns:
      a CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder of CfnTopicRule.PutAssetPropertyValueEntryProperty