com.pulumi.awsnative.lex.kotlin.outputs.BotAudioSpecification.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 input specifications.
* @property endTimeoutMs Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
* @property maxLengthMs Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
*/
public data class BotAudioSpecification(
public val endTimeoutMs: Int,
public val maxLengthMs: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotAudioSpecification): BotAudioSpecification = BotAudioSpecification(
endTimeoutMs = javaType.endTimeoutMs(),
maxLengthMs = javaType.maxLengthMs(),
)
}
}