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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisLayoutConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @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 AnalysisLayoutConfiguration(
    public val freeFormLayout: AnalysisFreeFormLayoutConfiguration? = null,
    public val gridLayout: AnalysisGridLayoutConfiguration? = null,
    public val sectionBasedLayout: AnalysisSectionBasedLayoutConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisLayoutConfiguration): AnalysisLayoutConfiguration = AnalysisLayoutConfiguration(
            freeFormLayout = javaType.freeFormLayout().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFreeFormLayoutConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            gridLayout = javaType.gridLayout().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGridLayoutConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sectionBasedLayout = javaType.sectionBasedLayout().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSectionBasedLayoutConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy