com.pulumi.aws.connect.kotlin.inputs.BotAssociationLexBotArgs.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.connect.kotlin.inputs
import com.pulumi.aws.connect.inputs.BotAssociationLexBotArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property lexRegion The Region that the Amazon Lex (V1) bot was created in. Defaults to current region.
* @property name The name of the Amazon Lex (V1) bot.
*/
public data class BotAssociationLexBotArgs(
public val lexRegion: Output? = null,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.connect.inputs.BotAssociationLexBotArgs =
com.pulumi.aws.connect.inputs.BotAssociationLexBotArgs.builder()
.lexRegion(lexRegion?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotAssociationLexBotArgs].
*/
@PulumiTagMarker
public class BotAssociationLexBotArgsBuilder internal constructor() {
private var lexRegion: Output? = null
private var name: Output? = null
/**
* @param value The Region that the Amazon Lex (V1) bot was created in. Defaults to current region.
*/
@JvmName("ugpdrhwayvcotkcy")
public suspend fun lexRegion(`value`: Output) {
this.lexRegion = value
}
/**
* @param value The name of the Amazon Lex (V1) bot.
*/
@JvmName("wfgjatcwemrnvpxi")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The Region that the Amazon Lex (V1) bot was created in. Defaults to current region.
*/
@JvmName("gsugnwcvpvplhxnd")
public suspend fun lexRegion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lexRegion = mapped
}
/**
* @param value The name of the Amazon Lex (V1) bot.
*/
@JvmName("xoabsrfiyoxyeuou")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): BotAssociationLexBotArgs = BotAssociationLexBotArgs(
lexRegion = lexRegion,
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy