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

com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs.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.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs.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
V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs(
    public val slotToElicit: Output? = null,
    public val suppressNextMessage: Output? = null,
    public val type: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs =
        com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs.builder()
            .slotToElicit(slotToElicit?.applyValue({ args0 -> args0 }))
            .suppressNextMessage(suppressNextMessage?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs].
 */
@PulumiTagMarker
public class
V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgsBuilder
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("usppmapmfeedptlu")
    public suspend fun slotToElicit(`value`: Output) {
        this.slotToElicit = value
    }

    /**
     * @param value Whether the next message for the intent is _not_ used.
     */
    @JvmName("smocqxocxxrkpkli")
    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("auxionvvpmkcapby")
    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("fjuyuhbteykxixif")
    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("yinhsdfeqoyuomca")
    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("yboxdoigmsiwsqpb")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy