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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSheetDefinitionArgs.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.AnalysisSheetDefinitionArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisSheetContentType
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 AnalysisSheetDefinitionArgs(
    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.AnalysisSheetDefinitionArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisSheetDefinitionArgs.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 [AnalysisSheetDefinitionArgs].
 */
@PulumiTagMarker
public class AnalysisSheetDefinitionArgsBuilder 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("pvfhsnebremvtdod")
    public suspend fun contentType(`value`: Output) {
        this.contentType = value
    }

    /**
     * @param value A description of the sheet.
     */
    @JvmName("mbdtjebwrvqyofgk")
    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("updhbcrftgkhbftj")
    public suspend fun filterControls(`value`: Output>) {
        this.filterControls = value
    }

    @JvmName("vvkwgjffodffkexl")
    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("ttvlplgkdefonayw")
    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("jhfqqlavqaejpbdt")
    public suspend fun layouts(`value`: Output>) {
        this.layouts = value
    }

    @JvmName("qpbsvuebafljkcpx")
    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("qmheeyvnhbbhdbii")
    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("nolyuewtwfpomlib")
    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("bknnaucxtkgxwbkm")
    public suspend fun parameterControls(`value`: Output>) {
        this.parameterControls = value
    }

    @JvmName("cbnlbxxspajmqfly")
    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("hrubcwcrabdhwjab")
    public suspend fun parameterControls(values: List>) {
        this.parameterControls = Output.all(values)
    }

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

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

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

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

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

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

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

    /**
     * @param value The title of the sheet.
     */
    @JvmName("hndnjynqivqlnaya")
    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("emienhtvddrhpwaf")
    public suspend fun visuals(`value`: Output>) {
        this.visuals = value
    }

    @JvmName("smfuifhuuprowoan")
    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("qapscrpcqbvvdjbo")
    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("qoncdjrtmucggqnr")
    public suspend fun contentType(`value`: AnalysisSheetContentType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentType = mapped
    }

    /**
     * @param value A description of the sheet.
     */
    @JvmName("tatbwyjcawyikmcc")
    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("okryyqmtuvqwgjbh")
    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("xfmhxvlhaekjwdtb")
    public suspend fun filterControls(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisFilterControlArgsBuilder().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("tacntopxjxeawund")
    public suspend fun filterControls(vararg argument: suspend AnalysisFilterControlArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisFilterControlArgsBuilder().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("yewdudksfwuikdnt")
    public suspend fun filterControls(argument: suspend AnalysisFilterControlArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisFilterControlArgsBuilder().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("rpjocfdyrpiyvsac")
    public suspend fun filterControls(vararg values: AnalysisFilterControlArgs) {
        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("wxvmyvmvaetxawjk")
    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("gayjwifyociqyfad")
    public suspend fun layouts(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisLayoutArgsBuilder().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("ngsemwecnrsxsayg")
    public suspend fun layouts(vararg argument: suspend AnalysisLayoutArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisLayoutArgsBuilder().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("vphrlhwrllxtvymw")
    public suspend fun layouts(argument: suspend AnalysisLayoutArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisLayoutArgsBuilder().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("qrspeemyifwwsnmd")
    public suspend fun layouts(vararg values: AnalysisLayoutArgs) {
        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("dxlifxnhumapnhce")
    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("wfclllguhpgtafpd")
    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("tdgmkistwhsnwauw")
    public suspend fun parameterControls(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisParameterControlArgsBuilder().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("gdgyyrxaellieeko")
    public suspend fun parameterControls(vararg argument: suspend AnalysisParameterControlArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisParameterControlArgsBuilder().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("fjpngjlhggreppiu")
    public suspend fun parameterControls(argument: suspend AnalysisParameterControlArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisParameterControlArgsBuilder().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("mnekvhljvrqtesid")
    public suspend fun parameterControls(vararg values: AnalysisParameterControlArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterControls = mapped
    }

    /**
     * @param value The control layouts of the sheet.
     */
    @JvmName("fkklsorgdxppegpn")
    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("bpnlqqkbnkowylel")
    public suspend fun sheetControlLayouts(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisSheetControlLayoutArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheetControlLayouts = mapped
    }

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

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

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

    /**
     * @param value The unique identifier of a sheet.
     */
    @JvmName("ronasidexjaqckki")
    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("flfqfvlyrxmeoqjf")
    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("ccvdtemusgdbgoag")
    public suspend fun textBoxes(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisSheetTextBoxArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.textBoxes = mapped
    }

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

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

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

    /**
     * @param value The title of the sheet.
     */
    @JvmName("hpxbdyygtcqggpvq")
    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("igacmrevloyxasvb")
    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("ugrkwkrbypdhdnjo")
    public suspend fun visuals(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisVisualArgsBuilder().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("ambufuhwokxamjji")
    public suspend fun visuals(vararg argument: suspend AnalysisVisualArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisVisualArgsBuilder().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("sxcobukudlwudpkf")
    public suspend fun visuals(argument: suspend AnalysisVisualArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisVisualArgsBuilder().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("fqvveipviahodmpg")
    public suspend fun visuals(vararg values: AnalysisVisualArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.visuals = mapped
    }

    internal fun build(): AnalysisSheetDefinitionArgs = AnalysisSheetDefinitionArgs(
        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