![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lex.kotlin.inputs.BotMultipleValuesSettingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin.inputs
import com.pulumi.awsnative.lex.inputs.BotMultipleValuesSettingArgs.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.Suppress
import kotlin.jvm.JvmName
/**
* Indicates whether a slot can return multiple values.
* @property allowMultipleValues Indicates whether a slot can return multiple values. When `true` , the slot may return more than one value in a response. When `false` , the slot returns only a single value.
* Multi-value slots are only available in the en-US locale. If you set this value to `true` in any other locale, Amazon Lex throws a `ValidationException` .
* If the `allowMutlipleValues` is not set, the default value is `false` .
*/
public data class BotMultipleValuesSettingArgs(
public val allowMultipleValues: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotMultipleValuesSettingArgs =
com.pulumi.awsnative.lex.inputs.BotMultipleValuesSettingArgs.builder()
.allowMultipleValues(allowMultipleValues?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotMultipleValuesSettingArgs].
*/
@PulumiTagMarker
public class BotMultipleValuesSettingArgsBuilder internal constructor() {
private var allowMultipleValues: Output? = null
/**
* @param value Indicates whether a slot can return multiple values. When `true` , the slot may return more than one value in a response. When `false` , the slot returns only a single value.
* Multi-value slots are only available in the en-US locale. If you set this value to `true` in any other locale, Amazon Lex throws a `ValidationException` .
* If the `allowMutlipleValues` is not set, the default value is `false` .
*/
@JvmName("ghyussavrjvdcwbu")
public suspend fun allowMultipleValues(`value`: Output) {
this.allowMultipleValues = value
}
/**
* @param value Indicates whether a slot can return multiple values. When `true` , the slot may return more than one value in a response. When `false` , the slot returns only a single value.
* Multi-value slots are only available in the en-US locale. If you set this value to `true` in any other locale, Amazon Lex throws a `ValidationException` .
* If the `allowMutlipleValues` is not set, the default value is `false` .
*/
@JvmName("yjiwlbwsdwfohccd")
public suspend fun allowMultipleValues(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.allowMultipleValues = mapped
}
internal fun build(): BotMultipleValuesSettingArgs = BotMultipleValuesSettingArgs(
allowMultipleValues = allowMultipleValues,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy