![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lex.kotlin.inputs.BotSlotPriorityArgs.kt Maven / Gradle / Ivy
@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("pqroalwiofxpakqe")
public suspend fun priority(`value`: Output) {
this.priority = value
}
/**
* @param value The name of the slot.
*/
@JvmName("ofqmhqwqmwxgxpet")
public suspend fun slotName(`value`: Output) {
this.slotName = value
}
/**
* @param value
*/
@JvmName("ekptxnpirfaicuki")
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("hsnircigeignesai")
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