
com.pulumi.awsnative.lex.kotlin.inputs.BotSlotPriorityArgs.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.BotSlotPriorityArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The priority that Amazon Lex should use when eliciting slot values from a user.
* @property priority
* @property slotName The name of the slot.
*/
public data class BotSlotPriorityArgs(
public val priority: Output,
public val slotName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotSlotPriorityArgs =
com.pulumi.awsnative.lex.inputs.BotSlotPriorityArgs.builder()
.priority(priority.applyValue({ args0 -> args0 }))
.slotName(slotName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotSlotPriorityArgs].
*/
@PulumiTagMarker
public class BotSlotPriorityArgsBuilder internal constructor() {
private var priority: Output? = null
private var slotName: Output? = null
/**
* @param value
*/
@JvmName("rjceibewvtxrapdx")
public suspend fun priority(`value`: Output) {
this.priority = value
}
/**
* @param value The name of the slot.
*/
@JvmName("hgiqttumvjmlqjrp")
public suspend fun slotName(`value`: Output) {
this.slotName = value
}
/**
* @param value
*/
@JvmName("hboefntympvmvmvu")
public suspend fun priority(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.priority = mapped
}
/**
* @param value The name of the slot.
*/
@JvmName("uwjgjmivdsmxucgj")
public suspend fun slotName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.slotName = mapped
}
internal fun build(): BotSlotPriorityArgs = BotSlotPriorityArgs(
priority = priority ?: throw PulumiNullFieldException("priority"),
slotName = slotName ?: throw PulumiNullFieldException("slotName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy