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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardPivotTableTotalOptionsArgs.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.DashboardPivotTableTotalOptionsArgs.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 columnSubtotalOptions The column subtotal options.
 * @property columnTotalOptions The column total options.
 * @property rowSubtotalOptions The row subtotal options.
 * @property rowTotalOptions The row total options.
 */
public data class DashboardPivotTableTotalOptionsArgs(
    public val columnSubtotalOptions: Output? = null,
    public val columnTotalOptions: Output? = null,
    public val rowSubtotalOptions: Output? = null,
    public val rowTotalOptions: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableTotalOptionsArgs = com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableTotalOptionsArgs.builder()
        .columnSubtotalOptions(
            columnSubtotalOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .columnTotalOptions(
            columnTotalOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .rowSubtotalOptions(
            rowSubtotalOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .rowTotalOptions(
            rowTotalOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        ).build()
}

/**
 * Builder for [DashboardPivotTableTotalOptionsArgs].
 */
@PulumiTagMarker
public class DashboardPivotTableTotalOptionsArgsBuilder internal constructor() {
    private var columnSubtotalOptions: Output? = null

    private var columnTotalOptions: Output? = null

    private var rowSubtotalOptions: Output? = null

    private var rowTotalOptions: Output? = null

    /**
     * @param value The column subtotal options.
     */
    @JvmName("lurigcvjkvenmamg")
    public suspend fun columnSubtotalOptions(`value`: Output) {
        this.columnSubtotalOptions = value
    }

    /**
     * @param value The column total options.
     */
    @JvmName("cnuhfvrehdfybhrp")
    public suspend fun columnTotalOptions(`value`: Output) {
        this.columnTotalOptions = value
    }

    /**
     * @param value The row subtotal options.
     */
    @JvmName("bqfeqrsadyevknqp")
    public suspend fun rowSubtotalOptions(`value`: Output) {
        this.rowSubtotalOptions = value
    }

    /**
     * @param value The row total options.
     */
    @JvmName("lakfyaoxamhbqugd")
    public suspend fun rowTotalOptions(`value`: Output) {
        this.rowTotalOptions = value
    }

    /**
     * @param value The column subtotal options.
     */
    @JvmName("fjvvthnfbyphuhki")
    public suspend fun columnSubtotalOptions(`value`: DashboardSubtotalOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnSubtotalOptions = mapped
    }

    /**
     * @param argument The column subtotal options.
     */
    @JvmName("rlmrcnyqiebduexc")
    public suspend fun columnSubtotalOptions(argument: suspend DashboardSubtotalOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardSubtotalOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.columnSubtotalOptions = mapped
    }

    /**
     * @param value The column total options.
     */
    @JvmName("wckpyxfsdqjntsjx")
    public suspend fun columnTotalOptions(`value`: DashboardPivotTotalOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnTotalOptions = mapped
    }

    /**
     * @param argument The column total options.
     */
    @JvmName("ohhgmuuvupndokbh")
    public suspend fun columnTotalOptions(argument: suspend DashboardPivotTotalOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardPivotTotalOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.columnTotalOptions = mapped
    }

    /**
     * @param value The row subtotal options.
     */
    @JvmName("eedxlmdsrvddwhfh")
    public suspend fun rowSubtotalOptions(`value`: DashboardSubtotalOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rowSubtotalOptions = mapped
    }

    /**
     * @param argument The row subtotal options.
     */
    @JvmName("gawldjgevkabkqua")
    public suspend fun rowSubtotalOptions(argument: suspend DashboardSubtotalOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardSubtotalOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.rowSubtotalOptions = mapped
    }

    /**
     * @param value The row total options.
     */
    @JvmName("ltcagrsggmjeckiu")
    public suspend fun rowTotalOptions(`value`: DashboardPivotTotalOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rowTotalOptions = mapped
    }

    /**
     * @param argument The row total options.
     */
    @JvmName("invhuicvvmwocwdt")
    public suspend fun rowTotalOptions(argument: suspend DashboardPivotTotalOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardPivotTotalOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.rowTotalOptions = mapped
    }

    internal fun build(): DashboardPivotTableTotalOptionsArgs = DashboardPivotTableTotalOptionsArgs(
        columnSubtotalOptions = columnSubtotalOptions,
        columnTotalOptions = columnTotalOptions,
        rowSubtotalOptions = rowSubtotalOptions,
        rowTotalOptions = rowTotalOptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy