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

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

/**
 *
 * @property fieldOptions The field options for a table visual.
 * @property fieldWells The field wells of the visual.
 * @property paginatedReportOptions The paginated report options for a table visual.
 * @property sortConfiguration The sort configuration for a `TableVisual` .
 * @property tableInlineVisualizations A collection of inline visualizations to display within a chart.
 * @property tableOptions The table options for a table visual.
 * @property totalOptions The total options for a table visual.
 */
public data class AnalysisTableConfigurationArgs(
    public val fieldOptions: Output? = null,
    public val fieldWells: Output? = null,
    public val paginatedReportOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tableInlineVisualizations: Output>? = null,
    public val tableOptions: Output? = null,
    public val totalOptions: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisTableConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisTableConfigurationArgs.builder()
            .fieldOptions(fieldOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .paginatedReportOptions(
                paginatedReportOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sortConfiguration(sortConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tableInlineVisualizations(
                tableInlineVisualizations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .tableOptions(tableOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .totalOptions(totalOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisTableConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisTableConfigurationArgsBuilder internal constructor() {
    private var fieldOptions: Output? = null

    private var fieldWells: Output? = null

    private var paginatedReportOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var tableInlineVisualizations: Output>? = null

    private var tableOptions: Output? = null

    private var totalOptions: Output? = null

    /**
     * @param value The field options for a table visual.
     */
    @JvmName("lkdhckhhnhmgscip")
    public suspend fun fieldOptions(`value`: Output) {
        this.fieldOptions = value
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("uatwomwhjiabdcic")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value The paginated report options for a table visual.
     */
    @JvmName("wwtfjsdjpjltribp")
    public suspend fun paginatedReportOptions(`value`: Output) {
        this.paginatedReportOptions = value
    }

    /**
     * @param value The sort configuration for a `TableVisual` .
     */
    @JvmName("wnrgbqrwgpwpviwg")
    public suspend fun sortConfiguration(`value`: Output) {
        this.sortConfiguration = value
    }

    /**
     * @param value A collection of inline visualizations to display within a chart.
     */
    @JvmName("eewgyfgtidycspcd")
    public suspend fun tableInlineVisualizations(`value`: Output>) {
        this.tableInlineVisualizations = value
    }

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

    /**
     * @param values A collection of inline visualizations to display within a chart.
     */
    @JvmName("ikuhxnqqtiuhtebi")
    public suspend fun tableInlineVisualizations(values: List>) {
        this.tableInlineVisualizations = Output.all(values)
    }

    /**
     * @param value The table options for a table visual.
     */
    @JvmName("kqmyqbhyxdvsookk")
    public suspend fun tableOptions(`value`: Output) {
        this.tableOptions = value
    }

    /**
     * @param value The total options for a table visual.
     */
    @JvmName("mjdrhnquuqvrmpjt")
    public suspend fun totalOptions(`value`: Output) {
        this.totalOptions = value
    }

    /**
     * @param value The field options for a table visual.
     */
    @JvmName("cvdsftkhbnqfgasy")
    public suspend fun fieldOptions(`value`: AnalysisTableFieldOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldOptions = mapped
    }

    /**
     * @param argument The field options for a table visual.
     */
    @JvmName("xmpmmogwdxehloiu")
    public suspend fun fieldOptions(argument: suspend AnalysisTableFieldOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTableFieldOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldOptions = mapped
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("dwuvtrmvtkrndxpq")
    public suspend fun fieldWells(`value`: AnalysisTableFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field wells of the visual.
     */
    @JvmName("viuxvvtobxfhvcqq")
    public suspend fun fieldWells(argument: suspend AnalysisTableFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTableFieldWellsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

    /**
     * @param value The paginated report options for a table visual.
     */
    @JvmName("vkfcldxkgxqadmnj")
    public suspend fun paginatedReportOptions(`value`: AnalysisTablePaginatedReportOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.paginatedReportOptions = mapped
    }

    /**
     * @param argument The paginated report options for a table visual.
     */
    @JvmName("gnheoosdhydqxiqv")
    public suspend fun paginatedReportOptions(argument: suspend AnalysisTablePaginatedReportOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTablePaginatedReportOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.paginatedReportOptions = mapped
    }

    /**
     * @param value The sort configuration for a `TableVisual` .
     */
    @JvmName("swxijqqpudmskslf")
    public suspend fun sortConfiguration(`value`: AnalysisTableSortConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sortConfiguration = mapped
    }

    /**
     * @param argument The sort configuration for a `TableVisual` .
     */
    @JvmName("rpsetumxvtpwupww")
    public suspend fun sortConfiguration(argument: suspend AnalysisTableSortConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTableSortConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sortConfiguration = mapped
    }

    /**
     * @param value A collection of inline visualizations to display within a chart.
     */
    @JvmName("wpvmfcochjmacdhd")
    public suspend fun tableInlineVisualizations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tableInlineVisualizations = mapped
    }

    /**
     * @param argument A collection of inline visualizations to display within a chart.
     */
    @JvmName("otapmmnkxltaxsdu")
    public suspend fun tableInlineVisualizations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisTableInlineVisualizationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.tableInlineVisualizations = mapped
    }

    /**
     * @param argument A collection of inline visualizations to display within a chart.
     */
    @JvmName("dxvpedjbcsfofywb")
    public suspend fun tableInlineVisualizations(vararg argument: suspend AnalysisTableInlineVisualizationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisTableInlineVisualizationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.tableInlineVisualizations = mapped
    }

    /**
     * @param argument A collection of inline visualizations to display within a chart.
     */
    @JvmName("nfaqrhghjjgtjsbp")
    public suspend fun tableInlineVisualizations(argument: suspend AnalysisTableInlineVisualizationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisTableInlineVisualizationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.tableInlineVisualizations = mapped
    }

    /**
     * @param values A collection of inline visualizations to display within a chart.
     */
    @JvmName("enwnfyuturjidvup")
    public suspend fun tableInlineVisualizations(vararg values: AnalysisTableInlineVisualizationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tableInlineVisualizations = mapped
    }

    /**
     * @param value The table options for a table visual.
     */
    @JvmName("tpyxrbrqkhjgpbfj")
    public suspend fun tableOptions(`value`: AnalysisTableOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tableOptions = mapped
    }

    /**
     * @param argument The table options for a table visual.
     */
    @JvmName("ltimruttlwvlbbec")
    public suspend fun tableOptions(argument: suspend AnalysisTableOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTableOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tableOptions = mapped
    }

    /**
     * @param value The total options for a table visual.
     */
    @JvmName("ykjgofixhytwyuex")
    public suspend fun totalOptions(`value`: AnalysisTotalOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.totalOptions = mapped
    }

    /**
     * @param argument The total options for a table visual.
     */
    @JvmName("mmcpyhqjutndsott")
    public suspend fun totalOptions(argument: suspend AnalysisTotalOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTotalOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.totalOptions = mapped
    }

    internal fun build(): AnalysisTableConfigurationArgs = AnalysisTableConfigurationArgs(
        fieldOptions = fieldOptions,
        fieldWells = fieldWells,
        paginatedReportOptions = paginatedReportOptions,
        sortConfiguration = sortConfiguration,
        tableInlineVisualizations = tableInlineVisualizations,
        tableOptions = tableOptions,
        totalOptions = totalOptions,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy