com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateDefaultGridLayoutConfigurationArgs.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.TemplateDefaultGridLayoutConfigurationArgs.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
/**
*
* @property canvasSizeOptions Determines the screen canvas size options for a grid layout.
*/
public data class TemplateDefaultGridLayoutConfigurationArgs(
public val canvasSizeOptions: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateDefaultGridLayoutConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateDefaultGridLayoutConfigurationArgs.builder()
.canvasSizeOptions(
canvasSizeOptions.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TemplateDefaultGridLayoutConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateDefaultGridLayoutConfigurationArgsBuilder internal constructor() {
private var canvasSizeOptions: Output? = null
/**
* @param value Determines the screen canvas size options for a grid layout.
*/
@JvmName("ukexcrwjwculaekt")
public suspend fun canvasSizeOptions(`value`: Output) {
this.canvasSizeOptions = value
}
/**
* @param value Determines the screen canvas size options for a grid layout.
*/
@JvmName("bqbsyhdnancitcia")
public suspend fun canvasSizeOptions(`value`: TemplateGridLayoutCanvasSizeOptionsArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.canvasSizeOptions = mapped
}
/**
* @param argument Determines the screen canvas size options for a grid layout.
*/
@JvmName("xxpjqotgrflmrfdo")
public suspend fun canvasSizeOptions(argument: suspend TemplateGridLayoutCanvasSizeOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateGridLayoutCanvasSizeOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.canvasSizeOptions = mapped
}
internal fun build(): TemplateDefaultGridLayoutConfigurationArgs =
TemplateDefaultGridLayoutConfigurationArgs(
canvasSizeOptions = canvasSizeOptions ?: throw PulumiNullFieldException("canvasSizeOptions"),
)
}