
com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.lex.kotlin.inputs
import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowInterrupt
* @property maxRetries
* @property messageGroups
* @property messageSelectionStrategy
* @property promptAttemptsSpecifications
*/
public data class V2modelsSlotValueElicitationSettingPromptSpecificationArgs(
public val allowInterrupt: Output? = null,
public val maxRetries: Output,
public val messageGroups: Output>? = null,
public val messageSelectionStrategy: Output? = null,
public val promptAttemptsSpecifications: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationArgs =
com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationArgs.builder()
.allowInterrupt(allowInterrupt?.applyValue({ args0 -> args0 }))
.maxRetries(maxRetries.applyValue({ args0 -> args0 }))
.messageGroups(
messageGroups?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.messageSelectionStrategy(messageSelectionStrategy?.applyValue({ args0 -> args0 }))
.promptAttemptsSpecifications(
promptAttemptsSpecifications?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
).build()
}
/**
* Builder for [V2modelsSlotValueElicitationSettingPromptSpecificationArgs].
*/
@PulumiTagMarker
public class V2modelsSlotValueElicitationSettingPromptSpecificationArgsBuilder internal constructor() {
private var allowInterrupt: Output? = null
private var maxRetries: Output? = null
private var messageGroups:
Output>? = null
private var messageSelectionStrategy: Output? = null
private var promptAttemptsSpecifications:
Output>? =
null
/**
* @param value
*/
@JvmName("hkbnwxnltsydoudu")
public suspend fun allowInterrupt(`value`: Output) {
this.allowInterrupt = value
}
/**
* @param value
*/
@JvmName("uhrdanxlawjjndll")
public suspend fun maxRetries(`value`: Output) {
this.maxRetries = value
}
/**
* @param value
*/
@JvmName("mdpambwbxhqkcjja")
public suspend fun messageGroups(`value`: Output>) {
this.messageGroups = value
}
@JvmName("wqnwkuwejnucvnog")
public suspend fun messageGroups(vararg values: Output) {
this.messageGroups = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("jlxyfslrtehlbqkn")
public suspend fun messageGroups(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy