com.pulumi.awsnative.iot.kotlin.inputs.TopicRuleAssetPropertyVariantArgs.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.inputs
import com.pulumi.awsnative.iot.inputs.TopicRuleAssetPropertyVariantArgs.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
/**
*
* @property booleanValue Optional. A string that contains the boolean value ( `true` or `false` ) of the value entry. Accepts substitution templates.
* @property doubleValue Optional. A string that contains the double value of the value entry. Accepts substitution templates.
* @property integerValue Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
* @property stringValue Optional. The string value of the value entry. Accepts substitution templates.
*/
public data class TopicRuleAssetPropertyVariantArgs(
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.iot.inputs.TopicRuleAssetPropertyVariantArgs =
com.pulumi.awsnative.iot.inputs.TopicRuleAssetPropertyVariantArgs.builder()
.booleanValue(booleanValue?.applyValue({ args0 -> args0 }))
.doubleValue(doubleValue?.applyValue({ args0 -> args0 }))
.integerValue(integerValue?.applyValue({ args0 -> args0 }))
.stringValue(stringValue?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleAssetPropertyVariantArgs].
*/
@PulumiTagMarker
public class TopicRuleAssetPropertyVariantArgsBuilder internal constructor() {
private var booleanValue: Output? = null
private var doubleValue: Output? = null
private var integerValue: Output? = null
private var stringValue: Output? = null
/**
* @param value Optional. A string that contains the boolean value ( `true` or `false` ) of the value entry. Accepts substitution templates.
*/
@JvmName("uwpjnnjrvwpeiujr")
public suspend fun booleanValue(`value`: Output) {
this.booleanValue = value
}
/**
* @param value Optional. A string that contains the double value of the value entry. Accepts substitution templates.
*/
@JvmName("arugbqdpyjtudqns")
public suspend fun doubleValue(`value`: Output) {
this.doubleValue = value
}
/**
* @param value Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
*/
@JvmName("hrmtrqnfuskgffyv")
public suspend fun integerValue(`value`: Output) {
this.integerValue = value
}
/**
* @param value Optional. The string value of the value entry. Accepts substitution templates.
*/
@JvmName("tfsaddeekbmvppjp")
public suspend fun stringValue(`value`: Output) {
this.stringValue = value
}
/**
* @param value Optional. A string that contains the boolean value ( `true` or `false` ) of the value entry. Accepts substitution templates.
*/
@JvmName("ootjptwvvmsxyxiu")
public suspend fun booleanValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.booleanValue = mapped
}
/**
* @param value Optional. A string that contains the double value of the value entry. Accepts substitution templates.
*/
@JvmName("jyhdqxhvpbggvmet")
public suspend fun doubleValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.doubleValue = mapped
}
/**
* @param value Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
*/
@JvmName("ytanhsleyyfscjon")
public suspend fun integerValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.integerValue = mapped
}
/**
* @param value Optional. The string value of the value entry. Accepts substitution templates.
*/
@JvmName("cphapkclfwijsrqs")
public suspend fun stringValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.stringValue = mapped
}
internal fun build(): TopicRuleAssetPropertyVariantArgs = TopicRuleAssetPropertyVariantArgs(
booleanValue = booleanValue,
doubleValue = doubleValue,
integerValue = integerValue,
stringValue = stringValue,
)
}