![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lex.kotlin.outputs.BotMultipleValuesSetting.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* 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 BotMultipleValuesSetting(
public val allowMultipleValues: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotMultipleValuesSetting): BotMultipleValuesSetting = BotMultipleValuesSetting(
allowMultipleValues = javaType.allowMultipleValues().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy