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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardPivotTableConfigurationArgs.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.DashboardPivotTableConfigurationArgs.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.jvm.JvmName

/**
 *
 * @property fieldOptions The field options for a pivot table visual.
 * @property fieldWells The field wells of the visual.
 * @property paginatedReportOptions The paginated report options for a pivot table visual.
 * @property sortConfiguration The sort configuration for a `PivotTableVisual` .
 * @property tableOptions The table options for a pivot table visual.
 * @property totalOptions The total options for a pivot table visual.
 */
public data class DashboardPivotTableConfigurationArgs(
    public val fieldOptions: Output? = null,
    public val fieldWells: Output? = null,
    public val paginatedReportOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tableOptions: Output? = null,
    public val totalOptions: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableConfigurationArgs.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() }) }))
        .tableOptions(tableOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .totalOptions(totalOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

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

    private var fieldWells: Output? = null

    private var paginatedReportOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var tableOptions: Output? = null

    private var totalOptions: Output? = null

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy