
com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelAssetPropertyVariant.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotevents.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *AWS IoT SiteWise API Reference*.
* @property booleanValue The asset property value is a Boolean value that must be `TRUE` or `FALSE`. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value.
* @property doubleValue The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
* @property integerValue The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
* @property stringValue The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
*/
public data class AlarmModelAssetPropertyVariant(
public val booleanValue: String? = null,
public val doubleValue: String? = null,
public val integerValue: String? = null,
public val stringValue: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.AlarmModelAssetPropertyVariant): AlarmModelAssetPropertyVariant = AlarmModelAssetPropertyVariant(
booleanValue = javaType.booleanValue().map({ args0 -> args0 }).orElse(null),
doubleValue = javaType.doubleValue().map({ args0 -> args0 }).orElse(null),
integerValue = javaType.integerValue().map({ args0 -> args0 }).orElse(null),
stringValue = javaType.stringValue().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy