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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSmallMultiplesOptions.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.outputs

import kotlin.Double
import kotlin.Suppress

/**
 *
 * @property maxVisibleColumns Sets the maximum number of visible columns to display in the grid of small multiples panels.
 * The default is `Auto` , which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart.
 * @property maxVisibleRows Sets the maximum number of visible rows to display in the grid of small multiples panels.
 * The default value is `Auto` , which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart.
 * @property panelConfiguration Configures the display options for each small multiples panel.
 * @property xAxis The properties of a small multiples X axis.
 * @property yAxis The properties of a small multiples Y axis.
 */
public data class TemplateSmallMultiplesOptions(
    public val maxVisibleColumns: Double? = null,
    public val maxVisibleRows: Double? = null,
    public val panelConfiguration: TemplatePanelConfiguration? = null,
    public val xAxis: TemplateSmallMultiplesAxisProperties? = null,
    public val yAxis: TemplateSmallMultiplesAxisProperties? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateSmallMultiplesOptions): TemplateSmallMultiplesOptions = TemplateSmallMultiplesOptions(
            maxVisibleColumns = javaType.maxVisibleColumns().map({ args0 -> args0 }).orElse(null),
            maxVisibleRows = javaType.maxVisibleRows().map({ args0 -> args0 }).orElse(null),
            panelConfiguration = javaType.panelConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePanelConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            xAxis = javaType.xAxis().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSmallMultiplesAxisProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            yAxis = javaType.yAxis().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSmallMultiplesAxisProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy