com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSmallMultiplesOptionsArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisSmallMultiplesOptionsArgs.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.Double
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @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 AnalysisSmallMultiplesOptionsArgs(
public val maxVisibleColumns: Output? = null,
public val maxVisibleRows: Output? = null,
public val panelConfiguration: Output? = null,
public val xAxis: Output? = null,
public val yAxis: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSmallMultiplesOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisSmallMultiplesOptionsArgs.builder()
.maxVisibleColumns(maxVisibleColumns?.applyValue({ args0 -> args0 }))
.maxVisibleRows(maxVisibleRows?.applyValue({ args0 -> args0 }))
.panelConfiguration(
panelConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.xAxis(xAxis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.yAxis(yAxis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisSmallMultiplesOptionsArgs].
*/
@PulumiTagMarker
public class AnalysisSmallMultiplesOptionsArgsBuilder internal constructor() {
private var maxVisibleColumns: Output? = null
private var maxVisibleRows: Output? = null
private var panelConfiguration: Output? = null
private var xAxis: Output? = null
private var yAxis: Output? = null
/**
* @param value 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.
*/
@JvmName("gqcxlrhnsswylbcx")
public suspend fun maxVisibleColumns(`value`: Output) {
this.maxVisibleColumns = value
}
/**
* @param value 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.
*/
@JvmName("brflnlryaksbhtbh")
public suspend fun maxVisibleRows(`value`: Output) {
this.maxVisibleRows = value
}
/**
* @param value Configures the display options for each small multiples panel.
*/
@JvmName("qwfsgoxaxcoambvd")
public suspend fun panelConfiguration(`value`: Output) {
this.panelConfiguration = value
}
/**
* @param value The properties of a small multiples X axis.
*/
@JvmName("jwiudipwggbpgkgl")
public suspend fun xAxis(`value`: Output) {
this.xAxis = value
}
/**
* @param value The properties of a small multiples Y axis.
*/
@JvmName("rupojspgmmgswmaa")
public suspend fun yAxis(`value`: Output) {
this.yAxis = value
}
/**
* @param value 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.
*/
@JvmName("ruwqbxespuljqkpv")
public suspend fun maxVisibleColumns(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxVisibleColumns = mapped
}
/**
* @param value 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.
*/
@JvmName("xbhgpaypusoxkdwd")
public suspend fun maxVisibleRows(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxVisibleRows = mapped
}
/**
* @param value Configures the display options for each small multiples panel.
*/
@JvmName("lvpmerxiydctdblq")
public suspend fun panelConfiguration(`value`: AnalysisPanelConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.panelConfiguration = mapped
}
/**
* @param argument Configures the display options for each small multiples panel.
*/
@JvmName("fltgxqxnrtybbsmo")
public suspend fun panelConfiguration(argument: suspend AnalysisPanelConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisPanelConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.panelConfiguration = mapped
}
/**
* @param value The properties of a small multiples X axis.
*/
@JvmName("qpsnahaajgikgoie")
public suspend fun xAxis(`value`: AnalysisSmallMultiplesAxisPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.xAxis = mapped
}
/**
* @param argument The properties of a small multiples X axis.
*/
@JvmName("hhpxmckgveidremc")
public suspend fun xAxis(argument: suspend AnalysisSmallMultiplesAxisPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisSmallMultiplesAxisPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.xAxis = mapped
}
/**
* @param value The properties of a small multiples Y axis.
*/
@JvmName("bmflurovumwlvxjq")
public suspend fun yAxis(`value`: AnalysisSmallMultiplesAxisPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.yAxis = mapped
}
/**
* @param argument The properties of a small multiples Y axis.
*/
@JvmName("vmpduasckynlkijw")
public suspend fun yAxis(argument: suspend AnalysisSmallMultiplesAxisPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisSmallMultiplesAxisPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.yAxis = mapped
}
internal fun build(): AnalysisSmallMultiplesOptionsArgs = AnalysisSmallMultiplesOptionsArgs(
maxVisibleColumns = maxVisibleColumns,
maxVisibleRows = maxVisibleRows,
panelConfiguration = panelConfiguration,
xAxis = xAxis,
yAxis = yAxis,
)
}