All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.lex.kotlin.inputs.BotSlotValueArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.inputs

import com.pulumi.awsnative.lex.inputs.BotSlotValueArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The value to set in a slot.
 * @property interpretedValue The value that Amazon Lex determines for the slot.
 */
public data class BotSlotValueArgs(
    public val interpretedValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lex.inputs.BotSlotValueArgs =
        com.pulumi.awsnative.lex.inputs.BotSlotValueArgs.builder()
            .interpretedValue(interpretedValue?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BotSlotValueArgs].
 */
@PulumiTagMarker
public class BotSlotValueArgsBuilder internal constructor() {
    private var interpretedValue: Output? = null

    /**
     * @param value The value that Amazon Lex determines for the slot.
     */
    @JvmName("qpordupfpxbnfwov")
    public suspend fun interpretedValue(`value`: Output) {
        this.interpretedValue = value
    }

    /**
     * @param value The value that Amazon Lex determines for the slot.
     */
    @JvmName("qnltovqogqthxplg")
    public suspend fun interpretedValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.interpretedValue = mapped
    }

    internal fun build(): BotSlotValueArgs = BotSlotValueArgs(
        interpretedValue = interpretedValue,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy