com.pulumi.awsnative.evidently.kotlin.inputs.FeatureVariationObjectArgs.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.evidently.kotlin.inputs
import com.pulumi.awsnative.evidently.inputs.FeatureVariationObjectArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property booleanValue The value assigned to this variation, if the variation type is boolean.
* @property doubleValue The value assigned to this variation, if the variation type is a double.
* @property longValue The value assigned to this variation, if the variation type is a long.
* @property stringValue The value assigned to this variation, if the variation type is a string.
* @property variationName A name for the variation. It can include up to 127 characters.
*/
public data class FeatureVariationObjectArgs(
public val booleanValue: Output? = null,
public val doubleValue: Output? = null,
public val longValue: Output? = null,
public val stringValue: Output? = null,
public val variationName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.evidently.inputs.FeatureVariationObjectArgs =
com.pulumi.awsnative.evidently.inputs.FeatureVariationObjectArgs.builder()
.booleanValue(booleanValue?.applyValue({ args0 -> args0 }))
.doubleValue(doubleValue?.applyValue({ args0 -> args0 }))
.longValue(longValue?.applyValue({ args0 -> args0 }))
.stringValue(stringValue?.applyValue({ args0 -> args0 }))
.variationName(variationName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FeatureVariationObjectArgs].
*/
@PulumiTagMarker
public class FeatureVariationObjectArgsBuilder internal constructor() {
private var booleanValue: Output? = null
private var doubleValue: Output? = null
private var longValue: Output? = null
private var stringValue: Output? = null
private var variationName: Output? = null
/**
* @param value The value assigned to this variation, if the variation type is boolean.
*/
@JvmName("lcdjqruqlhpqxxjx")
public suspend fun booleanValue(`value`: Output) {
this.booleanValue = value
}
/**
* @param value The value assigned to this variation, if the variation type is a double.
*/
@JvmName("njixghhexrkrsepn")
public suspend fun doubleValue(`value`: Output) {
this.doubleValue = value
}
/**
* @param value The value assigned to this variation, if the variation type is a long.
*/
@JvmName("knymdqungqeleals")
public suspend fun longValue(`value`: Output) {
this.longValue = value
}
/**
* @param value The value assigned to this variation, if the variation type is a string.
*/
@JvmName("bghrqyrxedqrksrb")
public suspend fun stringValue(`value`: Output) {
this.stringValue = value
}
/**
* @param value A name for the variation. It can include up to 127 characters.
*/
@JvmName("rqpaerpbwyrqhjca")
public suspend fun variationName(`value`: Output) {
this.variationName = value
}
/**
* @param value The value assigned to this variation, if the variation type is boolean.
*/
@JvmName("vokgoynvurfllpvu")
public suspend fun booleanValue(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.booleanValue = mapped
}
/**
* @param value The value assigned to this variation, if the variation type is a double.
*/
@JvmName("shjhypgwxhiadhfh")
public suspend fun doubleValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.doubleValue = mapped
}
/**
* @param value The value assigned to this variation, if the variation type is a long.
*/
@JvmName("aqifutkstqefkaaw")
public suspend fun longValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.longValue = mapped
}
/**
* @param value The value assigned to this variation, if the variation type is a string.
*/
@JvmName("pfgblvwnslefcgdx")
public suspend fun stringValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.stringValue = mapped
}
/**
* @param value A name for the variation. It can include up to 127 characters.
*/
@JvmName("canucpvljaxomkll")
public suspend fun variationName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.variationName = mapped
}
internal fun build(): FeatureVariationObjectArgs = FeatureVariationObjectArgs(
booleanValue = booleanValue,
doubleValue = doubleValue,
longValue = longValue,
stringValue = stringValue,
variationName = variationName,
)
}