![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lex.kotlin.outputs.BotResponseSpecification.kt Maven / Gradle / Ivy
@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