com.pulumi.awsnative.lex.kotlin.outputs.BotTextLogSetting.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.Boolean
import kotlin.Suppress
/**
* Contains information about code hooks that Amazon Lex calls during a conversation.
* @property destination
* @property enabled
*/
public data class BotTextLogSetting(
public val destination: BotTextLogDestination,
public val enabled: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotTextLogSetting): BotTextLogSetting = BotTextLogSetting(
destination = javaType.destination().let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotTextLogDestination.Companion.toKotlin(args0)
}),
enabled = javaType.enabled(),
)
}
}