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

com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification.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.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allowInterrupt
 * @property allowedInputTypes
 * @property audioAndDtmfInputSpecification
 * @property mapBlockKey
 * @property textInputSpecification
 */
public data class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification(
    public val allowInterrupt: Boolean? = null,
    public val allowedInputTypes: V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes,
    public val audioAndDtmfInputSpecification: V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification? =
        null,
    public val mapBlockKey: String,
    public val textInputSpecification: V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification): V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification =
            V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification(
                allowInterrupt = javaType.allowInterrupt().map({ args0 -> args0 }).orElse(null),
                allowedInputTypes = javaType.allowedInputTypes().let({ args0 ->
                    com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes.Companion.toKotlin(args0)
                }),
                audioAndDtmfInputSpecification = javaType.audioAndDtmfInputSpecification().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                mapBlockKey = javaType.mapBlockKey(),
                textInputSpecification = javaType.textInputSpecification().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy