
com.pulumi.awsnative.lex.kotlin.inputs.BotDialogStateArgs.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.BotDialogStateArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The current state of the conversation with the user.
* @property dialogAction Defines the action that the bot executes at runtime when the conversation reaches this step.
* @property intent Override settings to configure the intent state.
* @property sessionAttributes List of session attributes to be applied when the conversation reaches this step.
*/
public data class BotDialogStateArgs(
public val dialogAction: Output? = null,
public val intent: Output? = null,
public val sessionAttributes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotDialogStateArgs =
com.pulumi.awsnative.lex.inputs.BotDialogStateArgs.builder()
.dialogAction(dialogAction?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.intent(intent?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sessionAttributes(
sessionAttributes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BotDialogStateArgs].
*/
@PulumiTagMarker
public class BotDialogStateArgsBuilder internal constructor() {
private var dialogAction: Output? = null
private var intent: Output? = null
private var sessionAttributes: Output>? = null
/**
* @param value Defines the action that the bot executes at runtime when the conversation reaches this step.
*/
@JvmName("jhcrieuldxvpnnqm")
public suspend fun dialogAction(`value`: Output) {
this.dialogAction = value
}
/**
* @param value Override settings to configure the intent state.
*/
@JvmName("rdytbgmokwviqqwx")
public suspend fun intent(`value`: Output) {
this.intent = value
}
/**
* @param value List of session attributes to be applied when the conversation reaches this step.
*/
@JvmName("uxdmsmidtxdnxjbi")
public suspend fun sessionAttributes(`value`: Output>) {
this.sessionAttributes = value
}
@JvmName("nlrxodhbsywcyalj")
public suspend fun sessionAttributes(vararg values: Output) {
this.sessionAttributes = Output.all(values.asList())
}
/**
* @param values List of session attributes to be applied when the conversation reaches this step.
*/
@JvmName("pkmajgwwwvxjdnkg")
public suspend fun sessionAttributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy