
com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotSubSlotSettingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.lex.kotlin.inputs
import com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property expression Expression text for defining the constituent sub slots in the composite slot using logical `AND` and `OR` operators.
* @property slotSpecifications Specifications for the constituent sub slots of a composite slot.
* See the `slot_specification` argument reference below.
*/
public data class V2modelsSlotSubSlotSettingArgs(
public val expression: Output? = null,
public val slotSpecifications: Output>? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingArgs =
com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingArgs.builder()
.expression(expression?.applyValue({ args0 -> args0 }))
.slotSpecifications(
slotSpecifications?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [V2modelsSlotSubSlotSettingArgs].
*/
@PulumiTagMarker
public class V2modelsSlotSubSlotSettingArgsBuilder internal constructor() {
private var expression: Output? = null
private var slotSpecifications: Output>? =
null
/**
* @param value Expression text for defining the constituent sub slots in the composite slot using logical `AND` and `OR` operators.
*/
@JvmName("nmocuqdtfnxgwumd")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value Specifications for the constituent sub slots of a composite slot.
* See the `slot_specification` argument reference below.
*/
@JvmName("aipqwxuafycwjygw")
public suspend fun slotSpecifications(`value`: Output>) {
this.slotSpecifications = value
}
@JvmName("ychdudtqveicmrhm")
public suspend fun slotSpecifications(vararg values: Output) {
this.slotSpecifications = Output.all(values.asList())
}
/**
* @param values Specifications for the constituent sub slots of a composite slot.
* See the `slot_specification` argument reference below.
*/
@JvmName("jibrtjkwpbtowmcb")
public suspend fun slotSpecifications(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy