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

com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs.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.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs.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 V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs(
    public val mapBlockKey: Output,
    public val shape: Output? = null,
    public val `value`: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs =
        com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs.builder()
            .mapBlockKey(mapBlockKey.applyValue({ args0 -> args0 }))
            .shape(shape?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs].
 */
@PulumiTagMarker
public class V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgsBuilder 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("vnjpoulwdasqrtif")
    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("yqohjmqfusfpofgt")
    public suspend fun shape(`value`: Output) {
        this.shape = value
    }

    /**
     * @param value Configuration block for the current value of the slot. See `value`.
     */
    @JvmName("wgfhspnhpiyeldnn")
    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("mukqtvtwicndntqf")
    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("gkjhntlqvgcclfmh")
    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("jhotbogwkcvkjwwb")
    public suspend fun `value`(`value`: V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValueArgs?) {
        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("okcwlhsfpnwaxdfp")
    public suspend fun `value`(argument: suspend V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValueArgsBuilder.() -> Unit) {
        val toBeMapped =
            V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValueArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.`value` = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy