com.pulumi.aws.lex.kotlin.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs.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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs.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
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs(
public val mapBlockKey: Output,
public val shape: Output? = null,
public val `value`: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs =
com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs.builder()
.mapBlockKey(mapBlockKey.applyValue({ args0 -> args0 }))
.shape(shape?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs].
*/
@PulumiTagMarker
public class
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgsBuilder
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("nvyavkjrhbqhdvlq")
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("bkaddalaliqihyfb")
public suspend fun shape(`value`: Output) {
this.shape = value
}
/**
* @param value Configuration block for the current value of the slot. See `value`.
*/
@JvmName("flpxkpkapqaahlfh")
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("sfxoqefefsodconv")
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("kwedqbskxtaxoieo")
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("phhjfghbyenlxryy")
public suspend fun `value`(`value`: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotValueArgs?) {
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("lcuiurfayvvoexov")
public suspend fun `value`(argument: suspend V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotValueArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotValueArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.`value` = mapped
}
internal fun build(): V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs(
mapBlockKey = mapBlockKey ?: throw PulumiNullFieldException("mapBlockKey"),
shape = shape,
`value` = `value`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy