com.pulumi.awsnative.iot.kotlin.outputs.TopicRulePutAssetPropertyValueEntry.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property assetId The ID of the AWS IoT SiteWise asset. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates.
* @property entryId 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.
* @property propertyAlias 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.
* @property propertyId The ID of the asset's property. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates.
* @property propertyValues A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
*/
public data class TopicRulePutAssetPropertyValueEntry(
public val assetId: String? = null,
public val entryId: String? = null,
public val propertyAlias: String? = null,
public val propertyId: String? = null,
public val propertyValues: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRulePutAssetPropertyValueEntry): TopicRulePutAssetPropertyValueEntry = TopicRulePutAssetPropertyValueEntry(
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),
propertyValues = javaType.propertyValues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleAssetPropertyValue.Companion.toKotlin(args0)
})
}),
)
}
}