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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateTableConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplateTableConfigurationArgs.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 TemplateTableConfigurationArgs(
    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.TemplateTableConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateTableConfigurationArgs.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 [TemplateTableConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateTableConfigurationArgsBuilder 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("apldtngtslqboxdd")
    public suspend fun fieldOptions(`value`: Output) {
        this.fieldOptions = value
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @param value A collection of inline visualizations to display within a chart.
     */
    @JvmName("dnnxhsohskoivikm")
    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("fcpibiwwuycuepeo")
    public suspend fun tableInlineVisualizations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateTableInlineVisualizationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.tableInlineVisualizations = mapped
    }

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

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy