
com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentConfirmationSettingElicitationCodeHookArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.lex.kotlin.inputs
import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingElicitationCodeHookArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enableCodeHookInvocation Whether a Lambda function should be invoked for the dialog.
* @property invocationLabel Label that indicates the dialog step from which the dialog code hook is happening.
*/
public data class V2modelsIntentConfirmationSettingElicitationCodeHookArgs(
public val enableCodeHookInvocation: Output? = null,
public val invocationLabel: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingElicitationCodeHookArgs =
com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingElicitationCodeHookArgs.builder()
.enableCodeHookInvocation(enableCodeHookInvocation?.applyValue({ args0 -> args0 }))
.invocationLabel(invocationLabel?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [V2modelsIntentConfirmationSettingElicitationCodeHookArgs].
*/
@PulumiTagMarker
public class V2modelsIntentConfirmationSettingElicitationCodeHookArgsBuilder internal constructor() {
private var enableCodeHookInvocation: Output? = null
private var invocationLabel: Output? = null
/**
* @param value Whether a Lambda function should be invoked for the dialog.
*/
@JvmName("wgtxjlgrlcvjxnqe")
public suspend fun enableCodeHookInvocation(`value`: Output) {
this.enableCodeHookInvocation = value
}
/**
* @param value Label that indicates the dialog step from which the dialog code hook is happening.
*/
@JvmName("upnjqdiyqfamhbib")
public suspend fun invocationLabel(`value`: Output) {
this.invocationLabel = value
}
/**
* @param value Whether a Lambda function should be invoked for the dialog.
*/
@JvmName("hckmbrlqqjuyvcks")
public suspend fun enableCodeHookInvocation(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableCodeHookInvocation = mapped
}
/**
* @param value Label that indicates the dialog step from which the dialog code hook is happening.
*/
@JvmName("hnwieierrkmimrog")
public suspend fun invocationLabel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.invocationLabel = mapped
}
internal fun build(): V2modelsIntentConfirmationSettingElicitationCodeHookArgs =
V2modelsIntentConfirmationSettingElicitationCodeHookArgs(
enableCodeHookInvocation = enableCodeHookInvocation,
invocationLabel = invocationLabel,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy