All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormNumericQuestionPropertyValueAutomationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.inputs

import com.pulumi.awsnative.connect.inputs.EvaluationFormNumericQuestionPropertyValueAutomationArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.EvaluationFormNumericQuestionPropertyValueAutomationLabel
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.Suppress
import kotlin.jvm.JvmName

/**
 * Information about the property value used in automation of a numeric questions.
 * @property label The property label of the automation.
 */
public data class EvaluationFormNumericQuestionPropertyValueAutomationArgs(
    public val label: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connect.inputs.EvaluationFormNumericQuestionPropertyValueAutomationArgs =
        com.pulumi.awsnative.connect.inputs.EvaluationFormNumericQuestionPropertyValueAutomationArgs.builder()
            .label(label.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [EvaluationFormNumericQuestionPropertyValueAutomationArgs].
 */
@PulumiTagMarker
public class EvaluationFormNumericQuestionPropertyValueAutomationArgsBuilder internal constructor() {
    private var label: Output? = null

    /**
     * @param value The property label of the automation.
     */
    @JvmName("ilhfmveqfleeguib")
    public suspend fun label(`value`: Output) {
        this.label = value
    }

    /**
     * @param value The property label of the automation.
     */
    @JvmName("wuqhgahrfiiskasv")
    public suspend fun label(`value`: EvaluationFormNumericQuestionPropertyValueAutomationLabel) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.label = mapped
    }

    internal fun build(): EvaluationFormNumericQuestionPropertyValueAutomationArgs =
        EvaluationFormNumericQuestionPropertyValueAutomationArgs(
            label = label ?: throw PulumiNullFieldException("label"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy