
com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.lex.kotlin.inputs
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property condition Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.
* @property name Name of the branch.
* @property nextStep Configuration block for the next step in the conversation. See `next_step`.
* @property response Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.
*/
public data class
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs(
public val condition: Output,
public val name: Output,
public val nextStep: Output,
public val response: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs =
com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs.builder()
.condition(condition.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 }))
.nextStep(nextStep.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.response(response?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs].
*/
@PulumiTagMarker
public class
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgsBuilder
internal constructor() {
private var condition:
Output? =
null
private var name: Output? = null
private var nextStep:
Output? =
null
private var response:
Output? =
null
/**
* @param value Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.
*/
@JvmName("swqqamreeavrssvl")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value Name of the branch.
*/
@JvmName("wapcsqmcxvuofucj")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Configuration block for the next step in the conversation. See `next_step`.
*/
@JvmName("rpuwouuwvnqoksnb")
public suspend fun nextStep(`value`: Output) {
this.nextStep = value
}
/**
* @param value Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.
*/
@JvmName("okuhedvaexysrdpc")
public suspend fun response(`value`: Output) {
this.response = value
}
/**
* @param value Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.
*/
@JvmName("aibhishecausjtgo")
public suspend fun condition(`value`: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchConditionArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.condition = mapped
}
/**
* @param argument Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.
*/
@JvmName("gyuntvwfrcrebati")
public suspend fun condition(argument: suspend V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchConditionArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchConditionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.condition = mapped
}
/**
* @param value Name of the branch.
*/
@JvmName("fjawlaiegjewdffr")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Configuration block for the next step in the conversation. See `next_step`.
*/
@JvmName("sxkqksoicfrwmcdc")
public suspend fun nextStep(`value`: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.nextStep = mapped
}
/**
* @param argument Configuration block for the next step in the conversation. See `next_step`.
*/
@JvmName("ndpkpyiekrivxekh")
public suspend fun nextStep(argument: suspend V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.nextStep = mapped
}
/**
* @param value Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.
*/
@JvmName("ydslibaernrvdgsw")
public suspend fun response(`value`: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.response = mapped
}
/**
* @param argument Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.
*/
@JvmName("qbcrewhcrbwdfeyp")
public suspend fun response(argument: suspend V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.response = mapped
}
internal fun build(): V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs(
condition = condition ?: throw PulumiNullFieldException("condition"),
name = name ?: throw PulumiNullFieldException("name"),
nextStep = nextStep ?: throw PulumiNullFieldException("nextStep"),
response = response,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy