com.pulumi.awsnative.lex.kotlin.inputs.GetBotAliasPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.lex.kotlin.inputs
import com.pulumi.awsnative.lex.inputs.GetBotAliasPlainArgs.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 botAliasId The unique identifier of the bot alias.
* @property botId The unique identifier of the bot.
*/
public data class GetBotAliasPlainArgs(
public val botAliasId: String,
public val botId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.GetBotAliasPlainArgs =
com.pulumi.awsnative.lex.inputs.GetBotAliasPlainArgs.builder()
.botAliasId(botAliasId.let({ args0 -> args0 }))
.botId(botId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetBotAliasPlainArgs].
*/
@PulumiTagMarker
public class GetBotAliasPlainArgsBuilder internal constructor() {
private var botAliasId: String? = null
private var botId: String? = null
/**
* @param value The unique identifier of the bot alias.
*/
@JvmName("rpwxrmkggsdugula")
public suspend fun botAliasId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.botAliasId = mapped
}
/**
* @param value The unique identifier of the bot.
*/
@JvmName("ngkmuejdpsdbalfl")
public suspend fun botId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.botId = mapped
}
internal fun build(): GetBotAliasPlainArgs = GetBotAliasPlainArgs(
botAliasId = botAliasId ?: throw PulumiNullFieldException("botAliasId"),
botId = botId ?: throw PulumiNullFieldException("botId"),
)
}