
com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormItemArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.EvaluationFormItemArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
* @property question The information of the question.
* @property section The information of the section.
*/
public data class EvaluationFormItemArgs(
public val question: Output? = null,
public val section: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.EvaluationFormItemArgs =
com.pulumi.awsnative.connect.inputs.EvaluationFormItemArgs.builder()
.question(question?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.section(section?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [EvaluationFormItemArgs].
*/
@PulumiTagMarker
public class EvaluationFormItemArgsBuilder internal constructor() {
private var question: Output? = null
private var section: Output? = null
/**
* @param value The information of the question.
*/
@JvmName("eydxcfglpkrpraal")
public suspend fun question(`value`: Output) {
this.question = value
}
/**
* @param value The information of the section.
*/
@JvmName("jmijjpkqvjpjhgft")
public suspend fun section(`value`: Output) {
this.section = value
}
/**
* @param value The information of the question.
*/
@JvmName("hjmdttpeqjcxrabc")
public suspend fun question(`value`: EvaluationFormQuestionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.question = mapped
}
/**
* @param argument The information of the question.
*/
@JvmName("qyqqjnaufcjcvynt")
public suspend fun question(argument: suspend EvaluationFormQuestionArgsBuilder.() -> Unit) {
val toBeMapped = EvaluationFormQuestionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.question = mapped
}
/**
* @param value The information of the section.
*/
@JvmName("pgicmrxptakxkjab")
public suspend fun section(`value`: EvaluationFormSectionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.section = mapped
}
/**
* @param argument The information of the section.
*/
@JvmName("evrbehfhcxflcraq")
public suspend fun section(argument: suspend EvaluationFormSectionArgsBuilder.() -> Unit) {
val toBeMapped = EvaluationFormSectionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.section = mapped
}
internal fun build(): EvaluationFormItemArgs = EvaluationFormItemArgs(
question = question,
section = section,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy