com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormBaseItemArgs.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.EvaluationFormBaseItemArgs.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
/**
* An item at the root level. All items must be sections.
* @property section A subsection or inner section of an item.
*/
public data class EvaluationFormBaseItemArgs(
public val section: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.EvaluationFormBaseItemArgs =
com.pulumi.awsnative.connect.inputs.EvaluationFormBaseItemArgs.builder()
.section(section.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [EvaluationFormBaseItemArgs].
*/
@PulumiTagMarker
public class EvaluationFormBaseItemArgsBuilder internal constructor() {
private var section: Output? = null
/**
* @param value A subsection or inner section of an item.
*/
@JvmName("jinqggkgfmxcuvss")
public suspend fun section(`value`: Output) {
this.section = value
}
/**
* @param value A subsection or inner section of an item.
*/
@JvmName("shliqxxmbklpphcm")
public suspend fun section(`value`: EvaluationFormSectionArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.section = mapped
}
/**
* @param argument A subsection or inner section of an item.
*/
@JvmName("opwnacepifxoluyp")
public suspend fun section(argument: suspend EvaluationFormSectionArgsBuilder.() -> Unit) {
val toBeMapped = EvaluationFormSectionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.section = mapped
}
internal fun build(): EvaluationFormBaseItemArgs = EvaluationFormBaseItemArgs(
section = section ?: throw PulumiNullFieldException("section"),
)
}