
com.pulumi.awsnative.lex.kotlin.outputs.BotTestBotAliasSettings.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Configuring the test bot alias settings for a given bot
* @property botAliasLocaleSettings Specifies settings that are unique to a locale. For example, you can use a different Lambda function depending on the bot's locale.
* @property conversationLogSettings Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.
* @property description Specifies a description for the test bot alias.
* @property sentimentAnalysisSettings Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
*/
public data class BotTestBotAliasSettings(
public val botAliasLocaleSettings: List? = null,
public val conversationLogSettings: BotConversationLogSettings? = null,
public val description: String? = null,
public val sentimentAnalysisSettings: BotTestBotAliasSettingsSentimentAnalysisSettingsProperties? =
null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotTestBotAliasSettings): BotTestBotAliasSettings = BotTestBotAliasSettings(
botAliasLocaleSettings = javaType.botAliasLocaleSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotAliasLocaleSettingsItem.Companion.toKotlin(args0)
})
}),
conversationLogSettings = javaType.conversationLogSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotConversationLogSettings.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
sentimentAnalysisSettings = javaType.sentimentAnalysisSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotTestBotAliasSettingsSentimentAnalysisSettingsProperties.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy