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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateSmallMultiplesOptionsArgs.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.TemplateSmallMultiplesOptionsArgs.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 TemplateSmallMultiplesOptionsArgs(
    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.TemplateSmallMultiplesOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateSmallMultiplesOptionsArgs.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 [TemplateSmallMultiplesOptionsArgs].
 */
@PulumiTagMarker
public class TemplateSmallMultiplesOptionsArgsBuilder 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("nbrxrrigfmmsilqy")
    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("dlendshmrlvwryvb")
    public suspend fun maxVisibleRows(`value`: Output) {
        this.maxVisibleRows = value
    }

    /**
     * @param value Configures the display options for each small multiples panel.
     */
    @JvmName("xorepficjendxyuh")
    public suspend fun panelConfiguration(`value`: Output) {
        this.panelConfiguration = value
    }

    /**
     * @param value The properties of a small multiples X axis.
     */
    @JvmName("icdbjytuenrkyjmd")
    public suspend fun xAxis(`value`: Output) {
        this.xAxis = value
    }

    /**
     * @param value The properties of a small multiples Y axis.
     */
    @JvmName("gttcopgbliabghbj")
    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("vfwhlkejhaplljju")
    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("nttdibenjgcwodma")
    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("wjlrmwnxifxbjrto")
    public suspend fun panelConfiguration(`value`: TemplatePanelConfigurationArgs?) {
        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("iupjlxvvcwdvmsnh")
    public suspend fun panelConfiguration(argument: suspend TemplatePanelConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplatePanelConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.panelConfiguration = mapped
    }

    /**
     * @param value The properties of a small multiples X axis.
     */
    @JvmName("fqdhhdjykikhvwsg")
    public suspend fun xAxis(`value`: TemplateSmallMultiplesAxisPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxis = mapped
    }

    /**
     * @param argument The properties of a small multiples X axis.
     */
    @JvmName("kpjwkdjpmqbrrnto")
    public suspend fun xAxis(argument: suspend TemplateSmallMultiplesAxisPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateSmallMultiplesAxisPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.xAxis = mapped
    }

    /**
     * @param value The properties of a small multiples Y axis.
     */
    @JvmName("xqrcpycrwjqaqwnd")
    public suspend fun yAxis(`value`: TemplateSmallMultiplesAxisPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.yAxis = mapped
    }

    /**
     * @param argument The properties of a small multiples Y axis.
     */
    @JvmName("jtweguxpfnxsrebt")
    public suspend fun yAxis(argument: suspend TemplateSmallMultiplesAxisPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateSmallMultiplesAxisPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.yAxis = mapped
    }

    internal fun build(): TemplateSmallMultiplesOptionsArgs = TemplateSmallMultiplesOptionsArgs(
        maxVisibleColumns = maxVisibleColumns,
        maxVisibleRows = maxVisibleRows,
        panelConfiguration = panelConfiguration,
        xAxis = xAxis,
        yAxis = yAxis,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy