com.pulumi.awsnative.lex.kotlin.inputs.BotIntentOverrideArgs.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.BotIntentOverrideArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Override settings to configure the intent state.
* @property name The name of the intent. Only required when you're switching intents.
* @property slots A map of all of the slot value overrides for the intent.
*/
public data class BotIntentOverrideArgs(
public val name: Output? = null,
public val slots: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotIntentOverrideArgs =
com.pulumi.awsnative.lex.inputs.BotIntentOverrideArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.slots(
slots?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BotIntentOverrideArgs].
*/
@PulumiTagMarker
public class BotIntentOverrideArgsBuilder internal constructor() {
private var name: Output? = null
private var slots: Output>? = null
/**
* @param value The name of the intent. Only required when you're switching intents.
*/
@JvmName("vsakyerkiiqhcrxn")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A map of all of the slot value overrides for the intent.
*/
@JvmName("ocxfebsawkosoxgo")
public suspend fun slots(`value`: Output>) {
this.slots = value
}
@JvmName("didvwqtaagwtbmoq")
public suspend fun slots(vararg values: Output) {
this.slots = Output.all(values.asList())
}
/**
* @param values A map of all of the slot value overrides for the intent.
*/
@JvmName("skddnmguaghegory")
public suspend fun slots(values: List