All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.lex.kotlin.outputs.BotStillWaitingResponseSpecification.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 * StillWaitingResponseSpecification.
 * @property allowInterrupt Indicates whether the user can interrupt a speech prompt from the bot.
 * @property frequencyInSeconds How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
 * @property messageGroupsList One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
 * @property timeoutInSeconds If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
 */
public data class BotStillWaitingResponseSpecification(
    public val allowInterrupt: Boolean? = null,
    public val frequencyInSeconds: Int,
    public val messageGroupsList: List,
    public val timeoutInSeconds: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotStillWaitingResponseSpecification): BotStillWaitingResponseSpecification = BotStillWaitingResponseSpecification(
            allowInterrupt = javaType.allowInterrupt().map({ args0 -> args0 }).orElse(null),
            frequencyInSeconds = javaType.frequencyInSeconds(),
            messageGroupsList = javaType.messageGroupsList().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotMessageGroup.Companion.toKotlin(args0)
                })
            }),
            timeoutInSeconds = javaType.timeoutInSeconds(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy