com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSmallMultiplesOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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),
)
}
}