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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefinitionArgs.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.AnalysisDefinitionArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property analysisDefaults
 * @property calculatedFields An array of calculated field definitions for the analysis.
 * @property columnConfigurations An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
 * @property dataSetIdentifierDeclarations An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
 * @property filterGroups Filter definitions for an analysis.
 * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
 * @property options An array of option definitions for an analysis.
 * @property parameterDeclarations An array of parameter declarations for an analysis.
 * Parameters are named variables that can transfer a value for use by an action or an object.
 * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
 * @property sheets An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
 */
public data class AnalysisDefinitionArgs(
    public val analysisDefaults: Output? = null,
    public val calculatedFields: Output>? = null,
    public val columnConfigurations: Output>? = null,
    public val dataSetIdentifierDeclarations: Output>,
    public val filterGroups: Output>? = null,
    public val options: Output? = null,
    public val parameterDeclarations: Output>? = null,
    public val sheets: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDefinitionArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisDefinitionArgs.builder()
            .analysisDefaults(analysisDefaults?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .calculatedFields(
                calculatedFields?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .columnConfigurations(
                columnConfigurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .dataSetIdentifierDeclarations(
                dataSetIdentifierDeclarations.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .filterGroups(
                filterGroups?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .options(options?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .parameterDeclarations(
                parameterDeclarations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .sheets(
                sheets?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [AnalysisDefinitionArgs].
 */
@PulumiTagMarker
public class AnalysisDefinitionArgsBuilder internal constructor() {
    private var analysisDefaults: Output? = null

    private var calculatedFields: Output>? = null

    private var columnConfigurations: Output>? = null

    private var dataSetIdentifierDeclarations: Output>? =
        null

    private var filterGroups: Output>? = null

    private var options: Output? = null

    private var parameterDeclarations: Output>? = null

    private var sheets: Output>? = null

    /**
     * @param value
     */
    @JvmName("sifcoovxwvtdvxtp")
    public suspend fun analysisDefaults(`value`: Output) {
        this.analysisDefaults = value
    }

    /**
     * @param value An array of calculated field definitions for the analysis.
     */
    @JvmName("hrwoiurgvtlvcejl")
    public suspend fun calculatedFields(`value`: Output>) {
        this.calculatedFields = value
    }

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

    /**
     * @param values An array of calculated field definitions for the analysis.
     */
    @JvmName("lsnsveadiureoxwh")
    public suspend fun calculatedFields(values: List>) {
        this.calculatedFields = Output.all(values)
    }

    /**
     * @param value An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("yogcysjvxyclfubx")
    public suspend fun columnConfigurations(`value`: Output>) {
        this.columnConfigurations = value
    }

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

    /**
     * @param values An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("balsqrolsilojvqb")
    public suspend fun columnConfigurations(values: List>) {
        this.columnConfigurations = Output.all(values)
    }

    /**
     * @param value An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("yuijtnldvsbpfiho")
    public suspend fun dataSetIdentifierDeclarations(`value`: Output>) {
        this.dataSetIdentifierDeclarations = value
    }

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

    /**
     * @param values An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("kbtqeslhryrlhoun")
    public suspend fun dataSetIdentifierDeclarations(values: List>) {
        this.dataSetIdentifierDeclarations = Output.all(values)
    }

    /**
     * @param value Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("dpmeonwgsimropku")
    public suspend fun filterGroups(`value`: Output>) {
        this.filterGroups = value
    }

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

    /**
     * @param values Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("cenbivdgdnhurtqh")
    public suspend fun filterGroups(values: List>) {
        this.filterGroups = Output.all(values)
    }

    /**
     * @param value An array of option definitions for an analysis.
     */
    @JvmName("axtcffccpgdmqrre")
    public suspend fun options(`value`: Output) {
        this.options = value
    }

    /**
     * @param value An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("xgochscunwxgkmqo")
    public suspend fun parameterDeclarations(`value`: Output>) {
        this.parameterDeclarations = value
    }

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

    /**
     * @param values An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("hhgjnbafhloxmsyj")
    public suspend fun parameterDeclarations(values: List>) {
        this.parameterDeclarations = Output.all(values)
    }

    /**
     * @param value An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("pwupesihaaehdetw")
    public suspend fun sheets(`value`: Output>) {
        this.sheets = value
    }

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

    /**
     * @param values An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("pfmejpgipbhimlxy")
    public suspend fun sheets(values: List>) {
        this.sheets = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("koapjultwgaqjpyp")
    public suspend fun analysisDefaults(`value`: AnalysisDefaultsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.analysisDefaults = mapped
    }

    /**
     * @param argument
     */
    @JvmName("clhavbfdujcoxcke")
    public suspend fun analysisDefaults(argument: suspend AnalysisDefaultsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDefaultsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.analysisDefaults = mapped
    }

    /**
     * @param value An array of calculated field definitions for the analysis.
     */
    @JvmName("avliiljtqxdppuky")
    public suspend fun calculatedFields(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.calculatedFields = mapped
    }

    /**
     * @param argument An array of calculated field definitions for the analysis.
     */
    @JvmName("ciriwxkajulndxgy")
    public suspend fun calculatedFields(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisCalculatedFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.calculatedFields = mapped
    }

    /**
     * @param argument An array of calculated field definitions for the analysis.
     */
    @JvmName("iiqkjsrwvuyqffed")
    public suspend fun calculatedFields(vararg argument: suspend AnalysisCalculatedFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisCalculatedFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.calculatedFields = mapped
    }

    /**
     * @param argument An array of calculated field definitions for the analysis.
     */
    @JvmName("ratkgdtgdiijfwnj")
    public suspend fun calculatedFields(argument: suspend AnalysisCalculatedFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisCalculatedFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.calculatedFields = mapped
    }

    /**
     * @param values An array of calculated field definitions for the analysis.
     */
    @JvmName("oolkeasvgsssmcjd")
    public suspend fun calculatedFields(vararg values: AnalysisCalculatedFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.calculatedFields = mapped
    }

    /**
     * @param value An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("klcybsvepxgbiffe")
    public suspend fun columnConfigurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnConfigurations = mapped
    }

    /**
     * @param argument An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("optuwjsslhldrwxe")
    public suspend fun columnConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisColumnConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columnConfigurations = mapped
    }

    /**
     * @param argument An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("djkmoyvptwrfjqsk")
    public suspend fun columnConfigurations(vararg argument: suspend AnalysisColumnConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisColumnConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columnConfigurations = mapped
    }

    /**
     * @param argument An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("smtxkhylcnmrjvet")
    public suspend fun columnConfigurations(argument: suspend AnalysisColumnConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisColumnConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.columnConfigurations = mapped
    }

    /**
     * @param values An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("ssejxkbsoyyaebwb")
    public suspend fun columnConfigurations(vararg values: AnalysisColumnConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columnConfigurations = mapped
    }

    /**
     * @param value An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("dhblhbrmdbrpmfae")
    public suspend fun dataSetIdentifierDeclarations(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param argument An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("cysxaiutllfobtfy")
    public suspend fun dataSetIdentifierDeclarations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDataSetIdentifierDeclarationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param argument An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("hiwcoaliiusselpy")
    public suspend fun dataSetIdentifierDeclarations(vararg argument: suspend AnalysisDataSetIdentifierDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDataSetIdentifierDeclarationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param argument An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("lrivbngtworsbijm")
    public suspend fun dataSetIdentifierDeclarations(argument: suspend AnalysisDataSetIdentifierDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisDataSetIdentifierDeclarationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param values An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("klpdmncfsnsjvqyt")
    public suspend fun dataSetIdentifierDeclarations(vararg values: AnalysisDataSetIdentifierDeclarationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param value Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("jouuyfbuxcyvywge")
    public suspend fun filterGroups(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filterGroups = mapped
    }

    /**
     * @param argument Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("yihvjhqkdsgcyuot")
    public suspend fun filterGroups(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisFilterGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.filterGroups = mapped
    }

    /**
     * @param argument Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("ruvomgpmplyxavnd")
    public suspend fun filterGroups(vararg argument: suspend AnalysisFilterGroupArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisFilterGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.filterGroups = mapped
    }

    /**
     * @param argument Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("wpxdwfysyfyjsbhw")
    public suspend fun filterGroups(argument: suspend AnalysisFilterGroupArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisFilterGroupArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.filterGroups = mapped
    }

    /**
     * @param values Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("hemxfwjkhagexkpt")
    public suspend fun filterGroups(vararg values: AnalysisFilterGroupArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filterGroups = mapped
    }

    /**
     * @param value An array of option definitions for an analysis.
     */
    @JvmName("mqtvoivovnqcpqos")
    public suspend fun options(`value`: AnalysisAssetOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.options = mapped
    }

    /**
     * @param argument An array of option definitions for an analysis.
     */
    @JvmName("styllmngfrcfaxrp")
    public suspend fun options(argument: suspend AnalysisAssetOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisAssetOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.options = mapped
    }

    /**
     * @param value An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("qjykfljbsbeabdnx")
    public suspend fun parameterDeclarations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameterDeclarations = mapped
    }

    /**
     * @param argument An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("nosrwyayacsolxyp")
    public suspend fun parameterDeclarations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisParameterDeclarationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameterDeclarations = mapped
    }

    /**
     * @param argument An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("dbwoiscgsrlyjqoi")
    public suspend fun parameterDeclarations(vararg argument: suspend AnalysisParameterDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisParameterDeclarationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameterDeclarations = mapped
    }

    /**
     * @param argument An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("uddvdlqysbdbnkhv")
    public suspend fun parameterDeclarations(argument: suspend AnalysisParameterDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisParameterDeclarationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.parameterDeclarations = mapped
    }

    /**
     * @param values An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("pywsxexmvktjyjoo")
    public suspend fun parameterDeclarations(vararg values: AnalysisParameterDeclarationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterDeclarations = mapped
    }

    /**
     * @param value An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("tmxbgdrmstqmlkrx")
    public suspend fun sheets(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sheets = mapped
    }

    /**
     * @param argument An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("wralojjuioymngor")
    public suspend fun sheets(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisSheetDefinitionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheets = mapped
    }

    /**
     * @param argument An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("ilgdtyximtrbkrir")
    public suspend fun sheets(vararg argument: suspend AnalysisSheetDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisSheetDefinitionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheets = mapped
    }

    /**
     * @param argument An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("rfthjlnsjfsbdtoc")
    public suspend fun sheets(argument: suspend AnalysisSheetDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisSheetDefinitionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.sheets = mapped
    }

    /**
     * @param values An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("cskmswjxhxygfrgn")
    public suspend fun sheets(vararg values: AnalysisSheetDefinitionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sheets = mapped
    }

    internal fun build(): AnalysisDefinitionArgs = AnalysisDefinitionArgs(
        analysisDefaults = analysisDefaults,
        calculatedFields = calculatedFields,
        columnConfigurations = columnConfigurations,
        dataSetIdentifierDeclarations = dataSetIdentifierDeclarations ?: throw
            PulumiNullFieldException("dataSetIdentifierDeclarations"),
        filterGroups = filterGroups,
        options = options,
        parameterDeclarations = parameterDeclarations,
        sheets = sheets,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy