com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.lex.kotlin.inputs
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.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 mapBlockKey Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.
* @property shape When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.
* @property value Configuration block for the current value of the slot. See `value`.
*/
public data class
V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs(
public val mapBlockKey: Output,
public val shape: Output? = null,
public val `value`: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs =
com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.builder()
.mapBlockKey(mapBlockKey.applyValue({ args0 -> args0 }))
.shape(shape?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs].
*/
@PulumiTagMarker
public class
V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgsBuilder
internal constructor() {
private var mapBlockKey: Output? = null
private var shape: Output? = null
private var `value`:
Output? =
null
/**
* @param value Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.
*/
@JvmName("aytchgmsxolmfpnp")
public suspend fun mapBlockKey(`value`: Output) {
this.mapBlockKey = value
}
/**
* @param value When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.
*/
@JvmName("dsattvcdmsdoarqh")
public suspend fun shape(`value`: Output) {
this.shape = value
}
/**
* @param value Configuration block for the current value of the slot. See `value`.
*/
@JvmName("bmjlwrkdgswubjcv")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.
*/
@JvmName("ejufbklogtvesxrn")
public suspend fun mapBlockKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mapBlockKey = mapped
}
/**
* @param value When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.
*/
@JvmName("crggwhdkddtqkpak")
public suspend fun shape(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.shape = mapped
}
/**
* @param value Configuration block for the current value of the slot. See `value`.
*/
@JvmName("fgplcusmoujbmwok")
public suspend fun `value`(`value`: V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
/**
* @param argument Configuration block for the current value of the slot. See `value`.
*/
@JvmName("mdcbybtkhwmhrruv")
public suspend fun `value`(argument: suspend V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.`value` = mapped
}
internal fun build(): V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs =
V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs(
mapBlockKey = mapBlockKey ?: throw PulumiNullFieldException("mapBlockKey"),
shape = shape,
`value` = `value`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy