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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisLayoutConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisLayoutConfigurationArgs.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 AnalysisLayoutConfigurationArgs(
    public val freeFormLayout: Output? = null,
    public val gridLayout: Output? = null,
    public val sectionBasedLayout: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisLayoutConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisLayoutConfigurationArgs.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 [AnalysisLayoutConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisLayoutConfigurationArgsBuilder 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("jadtfvhdkgipbkew")
    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("jmcqvxfelayaadco")
    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("iwlqcqvdwqkkpldm")
    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("rgavuoybtaydmsed")
    public suspend fun freeFormLayout(`value`: AnalysisFreeFormLayoutConfigurationArgs?) {
        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("tjdhjxbjpmdblvts")
    public suspend fun freeFormLayout(argument: suspend AnalysisFreeFormLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFreeFormLayoutConfigurationArgsBuilder().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("pqsytbjcitnutsmd")
    public suspend fun gridLayout(`value`: AnalysisGridLayoutConfigurationArgs?) {
        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("mspnfaoowafofqqj")
    public suspend fun gridLayout(argument: suspend AnalysisGridLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisGridLayoutConfigurationArgsBuilder().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("jmxucwpkgijtiqmq")
    public suspend fun sectionBasedLayout(`value`: AnalysisSectionBasedLayoutConfigurationArgs?) {
        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("pvgqvqiuesdwggkh")
    public suspend fun sectionBasedLayout(argument: suspend AnalysisSectionBasedLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisSectionBasedLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sectionBasedLayout = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy