![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.inputs.TopicRulePutAssetPropertyValueEntryArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.TopicRulePutAssetPropertyValueEntryArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 TopicRulePutAssetPropertyValueEntryArgs(
public val assetId: Output? = null,
public val entryId: Output? = null,
public val propertyAlias: Output? = null,
public val propertyId: Output? = null,
public val propertyValues: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.TopicRulePutAssetPropertyValueEntryArgs =
com.pulumi.awsnative.iot.inputs.TopicRulePutAssetPropertyValueEntryArgs.builder()
.assetId(assetId?.applyValue({ args0 -> args0 }))
.entryId(entryId?.applyValue({ args0 -> args0 }))
.propertyAlias(propertyAlias?.applyValue({ args0 -> args0 }))
.propertyId(propertyId?.applyValue({ args0 -> args0 }))
.propertyValues(
propertyValues.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TopicRulePutAssetPropertyValueEntryArgs].
*/
@PulumiTagMarker
public class TopicRulePutAssetPropertyValueEntryArgsBuilder internal constructor() {
private var assetId: Output? = null
private var entryId: Output? = null
private var propertyAlias: Output? = null
private var propertyId: Output? = null
private var propertyValues: Output>? = null
/**
* @param value The ID of the AWS IoT SiteWise asset. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates.
*/
@JvmName("dmfwppkditmrrpnb")
public suspend fun assetId(`value`: Output) {
this.assetId = value
}
/**
* @param value 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.
*/
@JvmName("qllgmojsjertcwqk")
public suspend fun entryId(`value`: Output) {
this.entryId = value
}
/**
* @param value 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.
*/
@JvmName("eeavqwybyqeqtcoy")
public suspend fun propertyAlias(`value`: Output) {
this.propertyAlias = value
}
/**
* @param value The ID of the asset's property. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates.
*/
@JvmName("nnhhtywmcjbqnugb")
public suspend fun propertyId(`value`: Output) {
this.propertyId = value
}
/**
* @param value A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
*/
@JvmName("gdgjlxlfvtdlmylj")
public suspend fun propertyValues(`value`: Output>) {
this.propertyValues = value
}
@JvmName("phokyggjvnvmqoxi")
public suspend fun propertyValues(vararg values: Output) {
this.propertyValues = Output.all(values.asList())
}
/**
* @param values A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
*/
@JvmName("sxowvdkhmuhgwxav")
public suspend fun propertyValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy