
com.pulumi.awsnative.lex.kotlin.inputs.BotTextInputSpecificationArgs.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.BotTextInputSpecificationArgs.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.Suppress
import kotlin.jvm.JvmName
/**
* Specifies the text input specifications.
* @property startTimeoutMs Time for which a bot waits before re-prompting a customer for text input.
*/
public data class BotTextInputSpecificationArgs(
public val startTimeoutMs: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotTextInputSpecificationArgs =
com.pulumi.awsnative.lex.inputs.BotTextInputSpecificationArgs.builder()
.startTimeoutMs(startTimeoutMs.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotTextInputSpecificationArgs].
*/
@PulumiTagMarker
public class BotTextInputSpecificationArgsBuilder internal constructor() {
private var startTimeoutMs: Output? = null
/**
* @param value Time for which a bot waits before re-prompting a customer for text input.
*/
@JvmName("palfanwslaibjsyn")
public suspend fun startTimeoutMs(`value`: Output) {
this.startTimeoutMs = value
}
/**
* @param value Time for which a bot waits before re-prompting a customer for text input.
*/
@JvmName("gdkoyrfmudkpethu")
public suspend fun startTimeoutMs(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.startTimeoutMs = mapped
}
internal fun build(): BotTextInputSpecificationArgs = BotTextInputSpecificationArgs(
startTimeoutMs = startTimeoutMs ?: throw PulumiNullFieldException("startTimeoutMs"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy