![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormSingleSelectQuestionPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.EvaluationFormSingleSelectQuestionPropertiesArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.EvaluationFormSingleSelectQuestionPropertiesDisplayAs
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.collections.List
import kotlin.jvm.JvmName
/**
* Information about the options in single select questions.
* @property automation The display mode of the single select question.
* @property displayAs The display mode of the single select question.
* *Allowed values*: ``DROPDOWN`` | ``RADIO``
* @property options The answer options of the single select question.
* *Minimum*: 2
* *Maximum*: 256
*/
public data class EvaluationFormSingleSelectQuestionPropertiesArgs(
public val automation: Output? = null,
public val displayAs: Output? = null,
public val options: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.EvaluationFormSingleSelectQuestionPropertiesArgs =
com.pulumi.awsnative.connect.inputs.EvaluationFormSingleSelectQuestionPropertiesArgs.builder()
.automation(automation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.displayAs(displayAs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.options(
options.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EvaluationFormSingleSelectQuestionPropertiesArgs].
*/
@PulumiTagMarker
public class EvaluationFormSingleSelectQuestionPropertiesArgsBuilder internal constructor() {
private var automation: Output? = null
private var displayAs: Output? = null
private var options: Output>? = null
/**
* @param value The display mode of the single select question.
*/
@JvmName("jaghqpnrrlvpnmaq")
public suspend fun automation(`value`: Output) {
this.automation = value
}
/**
* @param value The display mode of the single select question.
* *Allowed values*: ``DROPDOWN`` | ``RADIO``
*/
@JvmName("dxuyvntotjtkanbb")
public suspend fun displayAs(`value`: Output) {
this.displayAs = value
}
/**
* @param value The answer options of the single select question.
* *Minimum*: 2
* *Maximum*: 256
*/
@JvmName("gebfmudbyihnkdox")
public suspend fun options(`value`: Output>) {
this.options = value
}
@JvmName("qtfhiejtqugqovgq")
public suspend fun options(vararg values: Output) {
this.options = Output.all(values.asList())
}
/**
* @param values The answer options of the single select question.
* *Minimum*: 2
* *Maximum*: 256
*/
@JvmName("mqoxuihpiphdirqs")
public suspend fun options(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy