
com.pulumi.awsnative.lex.kotlin.outputs.BotAudioAndDtmfInputSpecification.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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