com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.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.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.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
/**
*
* @property endTimeoutMs
* @property maxLengthMs
*/
public data class
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(
public val endTimeoutMs: Output,
public val maxLengthMs: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs =
com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.builder()
.endTimeoutMs(endTimeoutMs.applyValue({ args0 -> args0 }))
.maxLengthMs(maxLengthMs.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs].
*/
@PulumiTagMarker
public class
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgsBuilder
internal constructor() {
private var endTimeoutMs: Output? = null
private var maxLengthMs: Output? = null
/**
* @param value
*/
@JvmName("ldgpxvrrsafucrxn")
public suspend fun endTimeoutMs(`value`: Output) {
this.endTimeoutMs = value
}
/**
* @param value
*/
@JvmName("nrjsymmreovbwcex")
public suspend fun maxLengthMs(`value`: Output) {
this.maxLengthMs = value
}
/**
* @param value
*/
@JvmName("sgaynxiclxmowayw")
public suspend fun endTimeoutMs(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.endTimeoutMs = mapped
}
/**
* @param value
*/
@JvmName("allculaqpaerlxdd")
public suspend fun maxLengthMs(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maxLengthMs = mapped
}
internal fun build(): V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs =
V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(
endTimeoutMs = endTimeoutMs ?: throw PulumiNullFieldException("endTimeoutMs"),
maxLengthMs = maxLengthMs ?: throw PulumiNullFieldException("maxLengthMs"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy