
com.pulumi.awsnative.lex.kotlin.outputs.BotResponseSpecification.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.lex.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
* A list of message groups that Amazon Lex uses to respond the user input.
* @property allowInterrupt Indicates whether the user can interrupt a speech prompt from the bot.
* @property messageGroupsList A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
*/
public data class BotResponseSpecification(
public val allowInterrupt: Boolean? = null,
public val messageGroupsList: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotResponseSpecification): BotResponseSpecification = BotResponseSpecification(
allowInterrupt = javaType.allowInterrupt().map({ args0 -> args0 }).orElse(null),
messageGroupsList = javaType.messageGroupsList().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotMessageGroup.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy