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

com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs.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.inputs

import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
 * @property suppressNextMessage Whether the next message for the intent is _not_ used.
 * @property type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
 */
public data class V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs(
    public val slotToElicit: Output? = null,
    public val suppressNextMessage: Output? = null,
    public val type: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs =
        com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs.builder()
            .slotToElicit(slotToElicit?.applyValue({ args0 -> args0 }))
            .suppressNextMessage(suppressNextMessage?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs].
 */
@PulumiTagMarker
public class V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgsBuilder internal constructor() {
    private var slotToElicit: Output? = null

    private var suppressNextMessage: Output? = null

    private var type: Output? = null

    /**
     * @param value If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
     */
    @JvmName("tfryrxkbelfudlin")
    public suspend fun slotToElicit(`value`: Output) {
        this.slotToElicit = value
    }

    /**
     * @param value Whether the next message for the intent is _not_ used.
     */
    @JvmName("jfrrnloyrulpubew")
    public suspend fun suppressNextMessage(`value`: Output) {
        this.suppressNextMessage = value
    }

    /**
     * @param value Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
     */
    @JvmName("ehrvarsrefcgeico")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
     */
    @JvmName("ponbcfenmeojvlhl")
    public suspend fun slotToElicit(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.slotToElicit = mapped
    }

    /**
     * @param value Whether the next message for the intent is _not_ used.
     */
    @JvmName("ommcefrwhkaxasii")
    public suspend fun suppressNextMessage(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.suppressNextMessage = mapped
    }

    /**
     * @param value Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
     */
    @JvmName("tpmeuymenlksijnd")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs =
        V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs(
            slotToElicit = slotToElicit,
            suppressNextMessage = suppressNextMessage,
            type = type ?: throw PulumiNullFieldException("type"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy