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

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

@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(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy