com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisBodySectionContentArgs.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.AnalysisBodySectionContentArgs.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 AnalysisBodySectionContentArgs(
public val layout: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisBodySectionContentArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisBodySectionContentArgs.builder()
.layout(layout?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisBodySectionContentArgs].
*/
@PulumiTagMarker
public class AnalysisBodySectionContentArgsBuilder internal constructor() {
private var layout: Output? = null
/**
* @param value The layout configuration of a body section.
*/
@JvmName("plygeyhhyeyxrafp")
public suspend fun layout(`value`: Output) {
this.layout = value
}
/**
* @param value The layout configuration of a body section.
*/
@JvmName("cwlsprquahaqxliu")
public suspend fun layout(`value`: AnalysisSectionLayoutConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.layout = mapped
}
/**
* @param argument The layout configuration of a body section.
*/
@JvmName("fidxstkcqoewsfwj")
public suspend fun layout(argument: suspend AnalysisSectionLayoutConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisSectionLayoutConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.layout = mapped
}
internal fun build(): AnalysisBodySectionContentArgs = AnalysisBodySectionContentArgs(
layout = layout,
)
}