com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.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.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.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
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs(
public val audioSpecification: Output? =
null,
public val dtmfSpecification: Output? =
null,
public val startTimeoutMs: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs =
com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.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 [V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs].
*/
@PulumiTagMarker
public class
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgsBuilder
internal constructor() {
private var audioSpecification:
Output? =
null
private var dtmfSpecification:
Output? =
null
private var startTimeoutMs: Output? = null
/**
* @param value
*/
@JvmName("jjkmuseedifjjfte")
public suspend fun audioSpecification(`value`: Output) {
this.audioSpecification = value
}
/**
* @param value
*/
@JvmName("aublhbsmdpubbsyb")
public suspend fun dtmfSpecification(`value`: Output) {
this.dtmfSpecification = value
}
/**
* @param value
*/
@JvmName("ehigvmijischmavi")
public suspend fun startTimeoutMs(`value`: Output) {
this.startTimeoutMs = value
}
/**
* @param value
*/
@JvmName("yxkxegxglaoqqlpk")
public suspend fun audioSpecification(`value`: V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audioSpecification = mapped
}
/**
* @param argument
*/
@JvmName("awjbigirhcfnvguq")
public suspend fun audioSpecification(argument: suspend V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.audioSpecification = mapped
}
/**
* @param value
*/
@JvmName("tagwguybugowamdd")
public suspend fun dtmfSpecification(`value`: V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dtmfSpecification = mapped
}
/**
* @param argument
*/
@JvmName("vlwagfirssyjkjfo")
public suspend fun dtmfSpecification(argument: suspend V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgsBuilder.() -> Unit) {
val toBeMapped =
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dtmfSpecification = mapped
}
/**
* @param value
*/
@JvmName("idqaqvuiqrtnjien")
public suspend fun startTimeoutMs(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.startTimeoutMs = mapped
}
internal fun build(): V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs =
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs(
audioSpecification = audioSpecification,
dtmfSpecification = dtmfSpecification,
startTimeoutMs = startTimeoutMs ?: throw PulumiNullFieldException("startTimeoutMs"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy