
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateBodySectionContentArgs.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.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateBodySectionContentArgs.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
/**
*
* @property layout The layout configuration of a body section.
*/
public data class TemplateBodySectionContentArgs(
public val layout: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateBodySectionContentArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateBodySectionContentArgs.builder()
.layout(layout?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateBodySectionContentArgs].
*/
@PulumiTagMarker
public class TemplateBodySectionContentArgsBuilder internal constructor() {
private var layout: Output? = null
/**
* @param value The layout configuration of a body section.
*/
@JvmName("mpxdffhovxkfkgbv")
public suspend fun layout(`value`: Output) {
this.layout = value
}
/**
* @param value The layout configuration of a body section.
*/
@JvmName("bvxvstannhvmvxut")
public suspend fun layout(`value`: TemplateSectionLayoutConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.layout = mapped
}
/**
* @param argument The layout configuration of a body section.
*/
@JvmName("rdemqsycldlelsgj")
public suspend fun layout(argument: suspend TemplateSectionLayoutConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = TemplateSectionLayoutConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.layout = mapped
}
internal fun build(): TemplateBodySectionContentArgs = TemplateBodySectionContentArgs(
layout = layout,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy