com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.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.lex.kotlin.inputs
import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property audioSpecification
* @property dtmfSpecification
* @property startTimeoutMs
*/
public data class
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs(
public val audioSpecification: Output? =
null,
public val dtmfSpecification: Output? =
null,
public val startTimeoutMs: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs =
com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.builder()
.audioSpecification(
audioSpecification?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dtmfSpecification(dtmfSpecification?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.startTimeoutMs(startTimeoutMs.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs].
*/
@PulumiTagMarker
public class
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgsBuilder
internal constructor() {
private var audioSpecification:
Output? =
null
private var dtmfSpecification:
Output? =
null
private var startTimeoutMs: Output? = null
/**
* @param value
*/
@JvmName("lloebvyntdbactdw")
public suspend fun audioSpecification(`value`: Output) {
this.audioSpecification = value
}
/**
* @param value
*/
@JvmName("aftijoubkgxikwxa")
public suspend fun dtmfSpecification(`value`: Output) {
this.dtmfSpecification = value
}
/**
* @param value
*/
@JvmName("pxvqkkpvqxkbahop")
public suspend fun startTimeoutMs(`value`: Output) {
this.startTimeoutMs = value
}
/**
* @param value
*/
@JvmName("vtbiiwebihwacrby")
public suspend fun audioSpecification(`value`: V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audioSpecification = mapped
}
/**
* @param argument
*/
@JvmName("wwiokkhxxflsjlpd")
public suspend fun audioSpecification(argument: suspend V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.audioSpecification = mapped
}
/**
* @param value
*/
@JvmName("bxmbkhkggftcwqqu")
public suspend fun dtmfSpecification(`value`: V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dtmfSpecification = mapped
}
/**
* @param argument
*/
@JvmName("hftbkdmuyyubcsuo")
public suspend fun dtmfSpecification(argument: suspend V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dtmfSpecification = mapped
}
/**
* @param value
*/
@JvmName("eokoabmvgypnhshb")
public suspend fun startTimeoutMs(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.startTimeoutMs = mapped
}
internal fun build(): V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs =
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs(
audioSpecification = audioSpecification,
dtmfSpecification = dtmfSpecification,
startTimeoutMs = startTimeoutMs ?: throw PulumiNullFieldException("startTimeoutMs"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy