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

com.pulumi.aws.lex.kotlin.outputs.IntentFollowUpPrompt.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.lex.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property prompt Prompts for information from the user. Attributes are documented under prompt.
 * @property rejectionStatement If the user answers "no" to the question defined in the prompt field,
 * Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are
 * documented below under statement.
 */
public data class IntentFollowUpPrompt(
    public val prompt: IntentFollowUpPromptPrompt,
    public val rejectionStatement: IntentFollowUpPromptRejectionStatement,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.IntentFollowUpPrompt): IntentFollowUpPrompt = IntentFollowUpPrompt(
            prompt = javaType.prompt().let({ args0 ->
                com.pulumi.aws.lex.kotlin.outputs.IntentFollowUpPromptPrompt.Companion.toKotlin(args0)
            }),
            rejectionStatement = javaType.rejectionStatement().let({ args0 ->
                com.pulumi.aws.lex.kotlin.outputs.IntentFollowUpPromptRejectionStatement.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy