
com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormNumericQuestionAutomationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.EvaluationFormNumericQuestionAutomationArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Information about the automation configuration in numeric questions.
* @property propertyValue The property value of the automation.
*/
public data class EvaluationFormNumericQuestionAutomationArgs(
public val propertyValue: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.EvaluationFormNumericQuestionAutomationArgs =
com.pulumi.awsnative.connect.inputs.EvaluationFormNumericQuestionAutomationArgs.builder()
.propertyValue(propertyValue.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [EvaluationFormNumericQuestionAutomationArgs].
*/
@PulumiTagMarker
public class EvaluationFormNumericQuestionAutomationArgsBuilder internal constructor() {
private var propertyValue: Output? =
null
/**
* @param value The property value of the automation.
*/
@JvmName("tbrxqjhontrkxxnk")
public suspend fun propertyValue(`value`: Output) {
this.propertyValue = value
}
/**
* @param value The property value of the automation.
*/
@JvmName("svabpqylleficdph")
public suspend fun propertyValue(`value`: EvaluationFormNumericQuestionPropertyValueAutomationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.propertyValue = mapped
}
/**
* @param argument The property value of the automation.
*/
@JvmName("tybsudojlwpeexlq")
public suspend fun propertyValue(argument: suspend EvaluationFormNumericQuestionPropertyValueAutomationArgsBuilder.() -> Unit) {
val toBeMapped = EvaluationFormNumericQuestionPropertyValueAutomationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.propertyValue = mapped
}
internal fun build(): EvaluationFormNumericQuestionAutomationArgs =
EvaluationFormNumericQuestionAutomationArgs(
propertyValue = propertyValue ?: throw PulumiNullFieldException("propertyValue"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy