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

com.pulumi.awsnative.iotevents.kotlin.inputs.AlarmModelAssetPropertyVariantArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotevents.kotlin.inputs

import com.pulumi.awsnative.iotevents.inputs.AlarmModelAssetPropertyVariantArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 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 AlarmModelAssetPropertyVariantArgs(
    public val booleanValue: Output? = null,
    public val doubleValue: Output? = null,
    public val integerValue: Output? = null,
    public val stringValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotevents.inputs.AlarmModelAssetPropertyVariantArgs =
        com.pulumi.awsnative.iotevents.inputs.AlarmModelAssetPropertyVariantArgs.builder()
            .booleanValue(booleanValue?.applyValue({ args0 -> args0 }))
            .doubleValue(doubleValue?.applyValue({ args0 -> args0 }))
            .integerValue(integerValue?.applyValue({ args0 -> args0 }))
            .stringValue(stringValue?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AlarmModelAssetPropertyVariantArgs].
 */
@PulumiTagMarker
public class AlarmModelAssetPropertyVariantArgsBuilder internal constructor() {
    private var booleanValue: Output? = null

    private var doubleValue: Output? = null

    private var integerValue: Output? = null

    private var stringValue: Output? = null

    /**
     * @param value 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.
     */
    @JvmName("imkeqmhawivrmquc")
    public suspend fun booleanValue(`value`: Output) {
        this.booleanValue = value
    }

    /**
     * @param value 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.
     */
    @JvmName("ikusbunevadvcfll")
    public suspend fun doubleValue(`value`: Output) {
        this.doubleValue = value
    }

    /**
     * @param value 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.
     */
    @JvmName("mswnnrskdgwgdces")
    public suspend fun integerValue(`value`: Output) {
        this.integerValue = value
    }

    /**
     * @param value 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.
     */
    @JvmName("cljbvrgqqjijgqqi")
    public suspend fun stringValue(`value`: Output) {
        this.stringValue = value
    }

    /**
     * @param value 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.
     */
    @JvmName("udcoqpinxmybddcr")
    public suspend fun booleanValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.booleanValue = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("jdivskjpwnqtcywq")
    public suspend fun doubleValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.doubleValue = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("mglkkrjdqqmwkjcf")
    public suspend fun integerValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.integerValue = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("kvjqyymcxpprpitq")
    public suspend fun stringValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringValue = mapped
    }

    internal fun build(): AlarmModelAssetPropertyVariantArgs = AlarmModelAssetPropertyVariantArgs(
        booleanValue = booleanValue,
        doubleValue = doubleValue,
        integerValue = integerValue,
        stringValue = stringValue,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy