
com.pulumi.awsnative.lex.kotlin.inputs.BotAliasAudioLogSettingArgs.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.inputs
import com.pulumi.awsnative.lex.inputs.BotAliasAudioLogSettingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Settings for logging audio of conversations between Amazon Lex and a user. You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.
* @property destination
* @property enabled
*/
public data class BotAliasAudioLogSettingArgs(
public val destination: Output,
public val enabled: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotAliasAudioLogSettingArgs =
com.pulumi.awsnative.lex.inputs.BotAliasAudioLogSettingArgs.builder()
.destination(destination.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.enabled(enabled.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotAliasAudioLogSettingArgs].
*/
@PulumiTagMarker
public class BotAliasAudioLogSettingArgsBuilder internal constructor() {
private var destination: Output? = null
private var enabled: Output? = null
/**
* @param value
*/
@JvmName("kolexgvrlbaiuxfy")
public suspend fun destination(`value`: Output) {
this.destination = value
}
/**
* @param value
*/
@JvmName("qukxwtoaolvxrdxd")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value
*/
@JvmName("ppaadbeylnpadxta")
public suspend fun destination(`value`: BotAliasAudioLogDestinationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.destination = mapped
}
/**
* @param argument
*/
@JvmName("drxtdtexvipwieeb")
public suspend fun destination(argument: suspend BotAliasAudioLogDestinationArgsBuilder.() -> Unit) {
val toBeMapped = BotAliasAudioLogDestinationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.destination = mapped
}
/**
* @param value
*/
@JvmName("vrcmsvhvppfvbqyn")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
internal fun build(): BotAliasAudioLogSettingArgs = BotAliasAudioLogSettingArgs(
destination = destination ?: throw PulumiNullFieldException("destination"),
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy