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

com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property mapBlockKey Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.
 * @property shape When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.
 * @property value Configuration block for the current value of the slot. See `value`.
 */
public data class
V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs(
    public val mapBlockKey: Output,
    public val shape: Output? = null,
    public val `value`: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs =
        com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.builder()
            .mapBlockKey(mapBlockKey.applyValue({ args0 -> args0 }))
            .shape(shape?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs].
 */
@PulumiTagMarker
public class
V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgsBuilder
internal constructor() {
    private var mapBlockKey: Output? = null

    private var shape: Output? = null

    private var `value`:
        Output? =
        null

    /**
     * @param value Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.
     */
    @JvmName("xafseseghvrwhlow")
    public suspend fun mapBlockKey(`value`: Output) {
        this.mapBlockKey = value
    }

    /**
     * @param value When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.
     */
    @JvmName("qvilawmtuhfpseqe")
    public suspend fun shape(`value`: Output) {
        this.shape = value
    }

    /**
     * @param value Configuration block for the current value of the slot. See `value`.
     */
    @JvmName("adgmlcaplweeuvwu")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.
     */
    @JvmName("lgyoyvllfqerhxmw")
    public suspend fun mapBlockKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mapBlockKey = mapped
    }

    /**
     * @param value When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.
     */
    @JvmName("bdinuearbvijdsfj")
    public suspend fun shape(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.shape = mapped
    }

    /**
     * @param value Configuration block for the current value of the slot. See `value`.
     */
    @JvmName("wsehiqghpguhxwth")
    public suspend fun `value`(`value`: V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    /**
     * @param argument Configuration block for the current value of the slot. See `value`.
     */
    @JvmName("nhknctawesuoioqp")
    public suspend fun `value`(argument: suspend V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgsBuilder.() -> Unit) {
        val toBeMapped =
            V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.`value` = mapped
    }

    internal fun build(): V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs =
        V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs(
            mapBlockKey = mapBlockKey ?: throw PulumiNullFieldException("mapBlockKey"),
            shape = shape,
            `value` = `value`,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy