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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardSheetDefinitionArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardSheetDefinitionArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSheetContentType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property contentType The layout content type of the sheet. Choose one of the following options:
 * - `PAGINATED` : Creates a sheet for a paginated report.
 * - `INTERACTIVE` : Creates a sheet for an interactive dashboard.
 * @property description A description of the sheet.
 * @property filterControls The list of filter controls that are on a sheet.
 * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
 * @property layouts Layouts define how the components of a sheet are arranged.
 * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
 * @property name The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.
 * @property parameterControls The list of parameter controls that are on a sheet.
 * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
 * @property sheetControlLayouts The control layouts of the sheet.
 * @property sheetId The unique identifier of a sheet.
 * @property textBoxes The text boxes that are on a sheet.
 * @property title The title of the sheet.
 * @property visuals A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
 */
public data class DashboardSheetDefinitionArgs(
    public val contentType: Output? = null,
    public val description: Output? = null,
    public val filterControls: Output>? = null,
    public val layouts: Output>? = null,
    public val name: Output? = null,
    public val parameterControls: Output>? = null,
    public val sheetControlLayouts: Output>? = null,
    public val sheetId: Output,
    public val textBoxes: Output>? = null,
    public val title: Output? = null,
    public val visuals: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardSheetDefinitionArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardSheetDefinitionArgs.builder()
            .contentType(contentType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .description(description?.applyValue({ args0 -> args0 }))
            .filterControls(
                filterControls?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .layouts(
                layouts?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .name(name?.applyValue({ args0 -> args0 }))
            .parameterControls(
                parameterControls?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .sheetControlLayouts(
                sheetControlLayouts?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .sheetId(sheetId.applyValue({ args0 -> args0 }))
            .textBoxes(
                textBoxes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .title(title?.applyValue({ args0 -> args0 }))
            .visuals(
                visuals?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardSheetDefinitionArgs].
 */
@PulumiTagMarker
public class DashboardSheetDefinitionArgsBuilder internal constructor() {
    private var contentType: Output? = null

    private var description: Output? = null

    private var filterControls: Output>? = null

    private var layouts: Output>? = null

    private var name: Output? = null

    private var parameterControls: Output>? = null

    private var sheetControlLayouts: Output>? = null

    private var sheetId: Output? = null

    private var textBoxes: Output>? = null

    private var title: Output? = null

    private var visuals: Output>? = null

    /**
     * @param value The layout content type of the sheet. Choose one of the following options:
     * - `PAGINATED` : Creates a sheet for a paginated report.
     * - `INTERACTIVE` : Creates a sheet for an interactive dashboard.
     */
    @JvmName("yeboqatkidaujnpe")
    public suspend fun contentType(`value`: Output) {
        this.contentType = value
    }

    /**
     * @param value A description of the sheet.
     */
    @JvmName("psmhhnbpcbpjxltr")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fxeebgydjatrguwa")
    public suspend fun filterControls(`value`: Output>) {
        this.filterControls = value
    }

    @JvmName("jgrpmbgfbhwyvmvh")
    public suspend fun filterControls(vararg values: Output) {
        this.filterControls = Output.all(values.asList())
    }

    /**
     * @param values The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("nvgjsjfniwbupera")
    public suspend fun filterControls(values: List>) {
        this.filterControls = Output.all(values)
    }

    /**
     * @param value Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("crxpnrrwujimpucl")
    public suspend fun layouts(`value`: Output>) {
        this.layouts = value
    }

    @JvmName("fnthwyaiqixjllsq")
    public suspend fun layouts(vararg values: Output) {
        this.layouts = Output.all(values.asList())
    }

    /**
     * @param values Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("ssmjjhopwltrakuw")
    public suspend fun layouts(values: List>) {
        this.layouts = Output.all(values)
    }

    /**
     * @param value The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.
     */
    @JvmName("icvfkwaygpfbxrqm")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("qotxqlwntwljgfhg")
    public suspend fun parameterControls(`value`: Output>) {
        this.parameterControls = value
    }

    @JvmName("qydfthogfunkmppf")
    public suspend fun parameterControls(vararg values: Output) {
        this.parameterControls = Output.all(values.asList())
    }

    /**
     * @param values The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("peefhdhbtxqufhtb")
    public suspend fun parameterControls(values: List>) {
        this.parameterControls = Output.all(values)
    }

    /**
     * @param value The control layouts of the sheet.
     */
    @JvmName("vuepqkofshaxiwxc")
    public suspend fun sheetControlLayouts(`value`: Output>) {
        this.sheetControlLayouts = value
    }

    @JvmName("bojorkkwgdifvnge")
    public suspend fun sheetControlLayouts(vararg values: Output) {
        this.sheetControlLayouts = Output.all(values.asList())
    }

    /**
     * @param values The control layouts of the sheet.
     */
    @JvmName("exshllwpwmwfxuee")
    public suspend fun sheetControlLayouts(values: List>) {
        this.sheetControlLayouts = Output.all(values)
    }

    /**
     * @param value The unique identifier of a sheet.
     */
    @JvmName("fmjtohwgqqluaapt")
    public suspend fun sheetId(`value`: Output) {
        this.sheetId = value
    }

    /**
     * @param value The text boxes that are on a sheet.
     */
    @JvmName("uqvmmltclbptkbbr")
    public suspend fun textBoxes(`value`: Output>) {
        this.textBoxes = value
    }

    @JvmName("ukfhvndiceisnmka")
    public suspend fun textBoxes(vararg values: Output) {
        this.textBoxes = Output.all(values.asList())
    }

    /**
     * @param values The text boxes that are on a sheet.
     */
    @JvmName("tbqdtmxxbkfnwqgo")
    public suspend fun textBoxes(values: List>) {
        this.textBoxes = Output.all(values)
    }

    /**
     * @param value The title of the sheet.
     */
    @JvmName("gbvrvyukvwdhunxy")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("vyjvtmasxwsxgbry")
    public suspend fun visuals(`value`: Output>) {
        this.visuals = value
    }

    @JvmName("wyqwxorcxlmfmxpr")
    public suspend fun visuals(vararg values: Output) {
        this.visuals = Output.all(values.asList())
    }

    /**
     * @param values A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("jnciwijqestjquhk")
    public suspend fun visuals(values: List>) {
        this.visuals = Output.all(values)
    }

    /**
     * @param value The layout content type of the sheet. Choose one of the following options:
     * - `PAGINATED` : Creates a sheet for a paginated report.
     * - `INTERACTIVE` : Creates a sheet for an interactive dashboard.
     */
    @JvmName("diyatejwlsnbtcua")
    public suspend fun contentType(`value`: DashboardSheetContentType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentType = mapped
    }

    /**
     * @param value A description of the sheet.
     */
    @JvmName("olwqvyccmggxgyjn")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("amiminroorjmcqtg")
    public suspend fun filterControls(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filterControls = mapped
    }

    /**
     * @param argument The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fnjtfqknichqavha")
    public suspend fun filterControls(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardFilterControlArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.filterControls = mapped
    }

    /**
     * @param argument The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fspfkfwlohqlmhvx")
    public suspend fun filterControls(vararg argument: suspend DashboardFilterControlArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardFilterControlArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.filterControls = mapped
    }

    /**
     * @param argument The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("atqnbooibjdflsib")
    public suspend fun filterControls(argument: suspend DashboardFilterControlArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardFilterControlArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.filterControls = mapped
    }

    /**
     * @param values The list of filter controls that are on a sheet.
     * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fjcokadvqvqmhldy")
    public suspend fun filterControls(vararg values: DashboardFilterControlArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filterControls = mapped
    }

    /**
     * @param value Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("tkmyrxeelmgjuegf")
    public suspend fun layouts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.layouts = mapped
    }

    /**
     * @param argument Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("hdvwkegofbutebdg")
    public suspend fun layouts(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardLayoutArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.layouts = mapped
    }

    /**
     * @param argument Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("lxgvewikpnkavkln")
    public suspend fun layouts(vararg argument: suspend DashboardLayoutArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardLayoutArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.layouts = mapped
    }

    /**
     * @param argument Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("rstwcgcomkbwwtsq")
    public suspend fun layouts(argument: suspend DashboardLayoutArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardLayoutArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.layouts = mapped
    }

    /**
     * @param values Layouts define how the components of a sheet are arranged.
     * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("lekhqfhoaiojdgkw")
    public suspend fun layouts(vararg values: DashboardLayoutArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.layouts = mapped
    }

    /**
     * @param value The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.
     */
    @JvmName("gndqkpwgusjouwjl")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("frbgiuxwfcxcgbif")
    public suspend fun parameterControls(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameterControls = mapped
    }

    /**
     * @param argument The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("tfcenfkvfqiuyveh")
    public suspend fun parameterControls(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardParameterControlArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameterControls = mapped
    }

    /**
     * @param argument The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("gdjqpqvunagkcqna")
    public suspend fun parameterControls(vararg argument: suspend DashboardParameterControlArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardParameterControlArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameterControls = mapped
    }

    /**
     * @param argument The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("qkomliqevhkvhjfk")
    public suspend fun parameterControls(argument: suspend DashboardParameterControlArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardParameterControlArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.parameterControls = mapped
    }

    /**
     * @param values The list of parameter controls that are on a sheet.
     * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("hrdqxedkdsphogpn")
    public suspend fun parameterControls(vararg values: DashboardParameterControlArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterControls = mapped
    }

    /**
     * @param value The control layouts of the sheet.
     */
    @JvmName("oqqmlrrirqoeymaj")
    public suspend fun sheetControlLayouts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sheetControlLayouts = mapped
    }

    /**
     * @param argument The control layouts of the sheet.
     */
    @JvmName("awuftcmsjaynntnj")
    public suspend fun sheetControlLayouts(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardSheetControlLayoutArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheetControlLayouts = mapped
    }

    /**
     * @param argument The control layouts of the sheet.
     */
    @JvmName("jjrcgrujeohtruvh")
    public suspend fun sheetControlLayouts(vararg argument: suspend DashboardSheetControlLayoutArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardSheetControlLayoutArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheetControlLayouts = mapped
    }

    /**
     * @param argument The control layouts of the sheet.
     */
    @JvmName("mleaermoppskqhfe")
    public suspend fun sheetControlLayouts(argument: suspend DashboardSheetControlLayoutArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardSheetControlLayoutArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.sheetControlLayouts = mapped
    }

    /**
     * @param values The control layouts of the sheet.
     */
    @JvmName("wsjhwilebsarynoc")
    public suspend fun sheetControlLayouts(vararg values: DashboardSheetControlLayoutArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sheetControlLayouts = mapped
    }

    /**
     * @param value The unique identifier of a sheet.
     */
    @JvmName("obgcssiswkjdncmf")
    public suspend fun sheetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sheetId = mapped
    }

    /**
     * @param value The text boxes that are on a sheet.
     */
    @JvmName("ygpiowxtcwatknci")
    public suspend fun textBoxes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.textBoxes = mapped
    }

    /**
     * @param argument The text boxes that are on a sheet.
     */
    @JvmName("pmlxxjrcmvvxmwxf")
    public suspend fun textBoxes(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardSheetTextBoxArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.textBoxes = mapped
    }

    /**
     * @param argument The text boxes that are on a sheet.
     */
    @JvmName("qosevqydbggonipf")
    public suspend fun textBoxes(vararg argument: suspend DashboardSheetTextBoxArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardSheetTextBoxArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.textBoxes = mapped
    }

    /**
     * @param argument The text boxes that are on a sheet.
     */
    @JvmName("fjbljjovqaqxnxri")
    public suspend fun textBoxes(argument: suspend DashboardSheetTextBoxArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardSheetTextBoxArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.textBoxes = mapped
    }

    /**
     * @param values The text boxes that are on a sheet.
     */
    @JvmName("etpvlkpxyhsipepp")
    public suspend fun textBoxes(vararg values: DashboardSheetTextBoxArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.textBoxes = mapped
    }

    /**
     * @param value The title of the sheet.
     */
    @JvmName("kyckiwclgxskpjgf")
    public suspend fun title(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.title = mapped
    }

    /**
     * @param value A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("yfjmyqtapotojdfw")
    public suspend fun visuals(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visuals = mapped
    }

    /**
     * @param argument A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("pecxdiipsjlioskr")
    public suspend fun visuals(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardVisualArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.visuals = mapped
    }

    /**
     * @param argument A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("ujncxeuiuelhkwda")
    public suspend fun visuals(vararg argument: suspend DashboardVisualArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardVisualArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.visuals = mapped
    }

    /**
     * @param argument A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("itgxofaxhaljcqli")
    public suspend fun visuals(argument: suspend DashboardVisualArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardVisualArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.visuals = mapped
    }

    /**
     * @param values A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
     */
    @JvmName("vwutntsdnosbypam")
    public suspend fun visuals(vararg values: DashboardVisualArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.visuals = mapped
    }

    internal fun build(): DashboardSheetDefinitionArgs = DashboardSheetDefinitionArgs(
        contentType = contentType,
        description = description,
        filterControls = filterControls,
        layouts = layouts,
        name = name,
        parameterControls = parameterControls,
        sheetControlLayouts = sheetControlLayouts,
        sheetId = sheetId ?: throw PulumiNullFieldException("sheetId"),
        textBoxes = textBoxes,
        title = title,
        visuals = visuals,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy