com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs.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.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs.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.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowInterrupt Whether the user can interrupt a speech response from Amazon Lex.
* @property frequencyInSeconds How often a message should be sent to the user.
* @property messageGroups
* @property timeoutInSeconds If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
*/
public data class
V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs(
public val allowInterrupt: Output? = null,
public val frequencyInSeconds: Output,
public val messageGroups: Output>? =
null,
public val timeoutInSeconds: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs =
com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs.builder()
.allowInterrupt(allowInterrupt?.applyValue({ args0 -> args0 }))
.frequencyInSeconds(frequencyInSeconds.applyValue({ args0 -> args0 }))
.messageGroups(
messageGroups?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.timeoutInSeconds(timeoutInSeconds.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs].
*/
@PulumiTagMarker
public class
V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgsBuilder
internal constructor() {
private var allowInterrupt: Output? = null
private var frequencyInSeconds: Output? = null
private var messageGroups:
Output>? =
null
private var timeoutInSeconds: Output? = null
/**
* @param value Whether the user can interrupt a speech response from Amazon Lex.
*/
@JvmName("ujhcxppwagqwijfx")
public suspend fun allowInterrupt(`value`: Output) {
this.allowInterrupt = value
}
/**
* @param value How often a message should be sent to the user.
*/
@JvmName("qohpcohaibjexqtv")
public suspend fun frequencyInSeconds(`value`: Output) {
this.frequencyInSeconds = value
}
/**
* @param value
*/
@JvmName("qlmpssekkumuscet")
public suspend fun messageGroups(`value`: Output>) {
this.messageGroups = value
}
@JvmName("jaxcfyoykpwqtdid")
public suspend fun messageGroups(vararg values: Output) {
this.messageGroups = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("adultilbgcrcpeyb")
public suspend fun messageGroups(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy