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

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

/**
 *
 * @property allowInterrupt
 * @property allowedInputTypes
 * @property audioAndDtmfInputSpecification
 * @property mapBlockKey
 * @property textInputSpecification
 */
public data class
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgs(
    public val allowInterrupt: Output? = null,
    public val allowedInputTypes: Output,
    public val audioAndDtmfInputSpecification: Output? =
        null,
    public val mapBlockKey: Output,
    public val textInputSpecification: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgs =
        com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgs.builder()
            .allowInterrupt(allowInterrupt?.applyValue({ args0 -> args0 }))
            .allowedInputTypes(allowedInputTypes.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .audioAndDtmfInputSpecification(
                audioAndDtmfInputSpecification?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .mapBlockKey(mapBlockKey.applyValue({ args0 -> args0 }))
            .textInputSpecification(
                textInputSpecification?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgs].
 */
@PulumiTagMarker
public class
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgsBuilder
internal constructor() {
    private var allowInterrupt: Output? = null

    private var allowedInputTypes:
        Output? =
        null

    private var audioAndDtmfInputSpecification:
        Output? =
        null

    private var mapBlockKey: Output? = null

    private var textInputSpecification:
        Output? =
        null

    /**
     * @param value
     */
    @JvmName("heopdqhbeyyyvbwp")
    public suspend fun allowInterrupt(`value`: Output) {
        this.allowInterrupt = value
    }

    /**
     * @param value
     */
    @JvmName("qtyrmrmqhqtlfmbs")
    public suspend fun allowedInputTypes(`value`: Output) {
        this.allowedInputTypes = value
    }

    /**
     * @param value
     */
    @JvmName("ojvfewaehpkkffro")
    public suspend fun audioAndDtmfInputSpecification(`value`: Output) {
        this.audioAndDtmfInputSpecification = value
    }

    /**
     * @param value
     */
    @JvmName("aoqxmijbqtiioyib")
    public suspend fun mapBlockKey(`value`: Output) {
        this.mapBlockKey = value
    }

    /**
     * @param value
     */
    @JvmName("ajkvscwlcgdauntl")
    public suspend fun textInputSpecification(`value`: Output) {
        this.textInputSpecification = value
    }

    /**
     * @param value
     */
    @JvmName("wyfavusvndymntdi")
    public suspend fun allowInterrupt(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowInterrupt = mapped
    }

    /**
     * @param value
     */
    @JvmName("bdflcrytlxorjnfp")
    public suspend fun allowedInputTypes(`value`: V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedInputTypes = mapped
    }

    /**
     * @param argument
     */
    @JvmName("bfjcrbqioyiebflc")
    public suspend fun allowedInputTypes(argument: suspend V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgsBuilder.() -> Unit) {
        val toBeMapped =
            V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.allowedInputTypes = mapped
    }

    /**
     * @param value
     */
    @JvmName("lkjailygpovmsugc")
    public suspend fun audioAndDtmfInputSpecification(`value`: V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.audioAndDtmfInputSpecification = mapped
    }

    /**
     * @param argument
     */
    @JvmName("dgcsvvwgwltsmqwc")
    public suspend fun audioAndDtmfInputSpecification(argument: suspend V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgsBuilder.() -> Unit) {
        val toBeMapped =
            V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.audioAndDtmfInputSpecification = mapped
    }

    /**
     * @param value
     */
    @JvmName("yprqbuvrokavlctv")
    public suspend fun mapBlockKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mapBlockKey = mapped
    }

    /**
     * @param value
     */
    @JvmName("jmyxdijxgjciaqtk")
    public suspend fun textInputSpecification(`value`: V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.textInputSpecification = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ooipbuuhimsyaits")
    public suspend fun textInputSpecification(argument: suspend V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgsBuilder.() -> Unit) {
        val toBeMapped =
            V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.textInputSpecification = mapped
    }

    internal fun build(): V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgs =
        V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationArgs(
            allowInterrupt = allowInterrupt,
            allowedInputTypes = allowedInputTypes ?: throw PulumiNullFieldException("allowedInputTypes"),
            audioAndDtmfInputSpecification = audioAndDtmfInputSpecification,
            mapBlockKey = mapBlockKey ?: throw PulumiNullFieldException("mapBlockKey"),
            textInputSpecification = textInputSpecification,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy