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