All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateLayoutConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.TemplateLayoutConfigurationArgs.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 freeFormLayout A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
 * @property gridLayout A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` .
 * @property sectionBasedLayout A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
 */
public data class TemplateLayoutConfigurationArgs(
    public val freeFormLayout: Output? = null,
    public val gridLayout: Output? = null,
    public val sectionBasedLayout: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateLayoutConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateLayoutConfigurationArgs.builder()
            .freeFormLayout(freeFormLayout?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .gridLayout(gridLayout?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sectionBasedLayout(
                sectionBasedLayout?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [TemplateLayoutConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateLayoutConfigurationArgsBuilder internal constructor() {
    private var freeFormLayout: Output? = null

    private var gridLayout: Output? = null

    private var sectionBasedLayout: Output? = null

    /**
     * @param value A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
     */
    @JvmName("vjsyumhjrsayhxns")
    public suspend fun freeFormLayout(`value`: Output) {
        this.freeFormLayout = value
    }

    /**
     * @param value A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` .
     */
    @JvmName("jvtelciihbppvcfr")
    public suspend fun gridLayout(`value`: Output) {
        this.gridLayout = value
    }

    /**
     * @param value A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
     */
    @JvmName("yeukfgxruphixgst")
    public suspend fun sectionBasedLayout(`value`: Output) {
        this.sectionBasedLayout = value
    }

    /**
     * @param value A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
     */
    @JvmName("yqsfxakymmuhxooe")
    public suspend fun freeFormLayout(`value`: TemplateFreeFormLayoutConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.freeFormLayout = mapped
    }

    /**
     * @param argument A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
     */
    @JvmName("vfcndalhewqgefbs")
    public suspend fun freeFormLayout(argument: suspend TemplateFreeFormLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateFreeFormLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.freeFormLayout = mapped
    }

    /**
     * @param value A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` .
     */
    @JvmName("rqklwuyuqvffueeh")
    public suspend fun gridLayout(`value`: TemplateGridLayoutConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gridLayout = mapped
    }

    /**
     * @param argument A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` .
     */
    @JvmName("aepiudgupgtjpxjm")
    public suspend fun gridLayout(argument: suspend TemplateGridLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateGridLayoutConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.gridLayout = mapped
    }

    /**
     * @param value A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
     */
    @JvmName("cichingslkluwojv")
    public suspend fun sectionBasedLayout(`value`: TemplateSectionBasedLayoutConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sectionBasedLayout = mapped
    }

    /**
     * @param argument A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
     */
    @JvmName("jnngbsidrilpvhik")
    public suspend fun sectionBasedLayout(argument: suspend TemplateSectionBasedLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateSectionBasedLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sectionBasedLayout = mapped
    }

    internal fun build(): TemplateLayoutConfigurationArgs = TemplateLayoutConfigurationArgs(
        freeFormLayout = freeFormLayout,
        gridLayout = gridLayout,
        sectionBasedLayout = sectionBasedLayout,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy