![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.ThemeTileLayoutStyleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.ThemeTileLayoutStyleArgs.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
/**
* The display options for the layout of tiles on a sheet.
* @property gutter The gutter settings that apply between tiles.
* @property margin The margin settings that apply around the outside edge of sheets.
*/
public data class ThemeTileLayoutStyleArgs(
public val gutter: Output? = null,
public val margin: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.ThemeTileLayoutStyleArgs =
com.pulumi.awsnative.quicksight.inputs.ThemeTileLayoutStyleArgs.builder()
.gutter(gutter?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.margin(margin?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ThemeTileLayoutStyleArgs].
*/
@PulumiTagMarker
public class ThemeTileLayoutStyleArgsBuilder internal constructor() {
private var gutter: Output? = null
private var margin: Output? = null
/**
* @param value The gutter settings that apply between tiles.
*/
@JvmName("gxcvjtjjwiateimn")
public suspend fun gutter(`value`: Output) {
this.gutter = value
}
/**
* @param value The margin settings that apply around the outside edge of sheets.
*/
@JvmName("wcdwtwldujwwaepc")
public suspend fun margin(`value`: Output) {
this.margin = value
}
/**
* @param value The gutter settings that apply between tiles.
*/
@JvmName("hrlcctlmyixjuqpr")
public suspend fun gutter(`value`: ThemeGutterStyleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gutter = mapped
}
/**
* @param argument The gutter settings that apply between tiles.
*/
@JvmName("vvjevtbjagvrpoyo")
public suspend fun gutter(argument: suspend ThemeGutterStyleArgsBuilder.() -> Unit) {
val toBeMapped = ThemeGutterStyleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.gutter = mapped
}
/**
* @param value The margin settings that apply around the outside edge of sheets.
*/
@JvmName("vxkcimruyseiygsm")
public suspend fun margin(`value`: ThemeMarginStyleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.margin = mapped
}
/**
* @param argument The margin settings that apply around the outside edge of sheets.
*/
@JvmName("wmcgiliigifquxwd")
public suspend fun margin(argument: suspend ThemeMarginStyleArgsBuilder.() -> Unit) {
val toBeMapped = ThemeMarginStyleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.margin = mapped
}
internal fun build(): ThemeTileLayoutStyleArgs = ThemeTileLayoutStyleArgs(
gutter = gutter,
margin = margin,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy