com.pulumi.awsnative.lex.kotlin.outputs.BotVoiceSettings.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 com.pulumi.awsnative.lex.kotlin.enums.BotVoiceSettingsEngine
import kotlin.String
import kotlin.Suppress
/**
* Settings for using an Amazon Polly voice to communicate with a user.
* @property engine Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.
* @property voiceId The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
*/
public data class BotVoiceSettings(
public val engine: BotVoiceSettingsEngine? = null,
public val voiceId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotVoiceSettings): BotVoiceSettings = BotVoiceSettings(
engine = javaType.engine().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.enums.BotVoiceSettingsEngine.Companion.toKotlin(args0)
})
}).orElse(null),
voiceId = javaType.voiceId(),
)
}
}