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

com.pulumi.aws.connect.kotlin.inputs.GetBotAssociationLexBot.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.connect.kotlin.inputs

import com.pulumi.aws.connect.inputs.GetBotAssociationLexBot.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property lexRegion Region that the Amazon Lex (V1) bot was created in.
 * @property name Name of the Amazon Lex (V1) bot.
 */
public data class GetBotAssociationLexBot(
    public val lexRegion: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.connect.inputs.GetBotAssociationLexBot =
        com.pulumi.aws.connect.inputs.GetBotAssociationLexBot.builder()
            .lexRegion(lexRegion.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetBotAssociationLexBot].
 */
@PulumiTagMarker
public class GetBotAssociationLexBotBuilder internal constructor() {
    private var lexRegion: String? = null

    private var name: String? = null

    /**
     * @param value Region that the Amazon Lex (V1) bot was created in.
     */
    @JvmName("srtjmrkepjtxmbvf")
    public suspend fun lexRegion(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.lexRegion = mapped
    }

    /**
     * @param value Name of the Amazon Lex (V1) bot.
     */
    @JvmName("prvpgiivirkomxil")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetBotAssociationLexBot = GetBotAssociationLexBot(
        lexRegion = lexRegion ?: throw PulumiNullFieldException("lexRegion"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy