All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelIotSiteWise.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotevents.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.
 * @property assetId The ID of the asset that has the specified property. You can specify an expression.
 * @property 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. You can also specify an expression.
 * @property propertyAlias The alias of the asset property. You can also specify an expression.
 * @property propertyId The ID of the asset property. You can specify an expression.
 * @property propertyValue The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
 */
public data class DetectorModelIotSiteWise(
    public val assetId: String? = null,
    public val entryId: String? = null,
    public val propertyAlias: String? = null,
    public val propertyId: String? = null,
    public val propertyValue: DetectorModelAssetPropertyValue,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.DetectorModelIotSiteWise): DetectorModelIotSiteWise = DetectorModelIotSiteWise(
            assetId = javaType.assetId().map({ args0 -> args0 }).orElse(null),
            entryId = javaType.entryId().map({ args0 -> args0 }).orElse(null),
            propertyAlias = javaType.propertyAlias().map({ args0 -> args0 }).orElse(null),
            propertyId = javaType.propertyId().map({ args0 -> args0 }).orElse(null),
            propertyValue = javaType.propertyValue().let({ args0 ->
                com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelAssetPropertyValue.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy