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

com.pulumi.awsnative.lex.kotlin.outputs.BotAudioAndDtmfInputSpecification.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * Specifies the audio and DTMF input specification.
 * @property audioSpecification
 * @property dtmfSpecification
 * @property startTimeoutMs Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.
 */
public data class BotAudioAndDtmfInputSpecification(
    public val audioSpecification: BotAudioSpecification? = null,
    public val dtmfSpecification: BotDtmfSpecification? = null,
    public val startTimeoutMs: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotAudioAndDtmfInputSpecification): BotAudioAndDtmfInputSpecification = BotAudioAndDtmfInputSpecification(
            audioSpecification = javaType.audioSpecification().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotAudioSpecification.Companion.toKotlin(args0)
                })
            }).orElse(null),
            dtmfSpecification = javaType.dtmfSpecification().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotDtmfSpecification.Companion.toKotlin(args0)
                })
            }).orElse(null),
            startTimeoutMs = javaType.startTimeoutMs(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy