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

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTotalOptions.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableTotalsPlacement
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableTotalsScrollStatus
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property customLabel The custom label string for the total cells.
 * @property placement The placement (start, end) for the total cells.
 * @property scrollStatus The scroll status (pinned, scrolled) for the total cells.
 * @property totalAggregationOptions The total aggregation settings for each value field.
 * @property totalCellStyle Cell styling options for the total cells.
 * @property totalsVisibility The visibility configuration for the total cells.
 */
public data class DashboardTotalOptions(
    public val customLabel: String? = null,
    public val placement: DashboardTableTotalsPlacement? = null,
    public val scrollStatus: DashboardTableTotalsScrollStatus? = null,
    public val totalAggregationOptions: List? = null,
    public val totalCellStyle: DashboardTableCellStyle? = null,
    public val totalsVisibility: DashboardVisibility? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardTotalOptions): DashboardTotalOptions = DashboardTotalOptions(
            customLabel = javaType.customLabel().map({ args0 -> args0 }).orElse(null),
            placement = javaType.placement().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableTotalsPlacement.Companion.toKotlin(args0)
                })
            }).orElse(null),
            scrollStatus = javaType.scrollStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableTotalsScrollStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalAggregationOptions = javaType.totalAggregationOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTotalAggregationOption.Companion.toKotlin(args0)
                })
            }),
            totalCellStyle = javaType.totalCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalsVisibility = javaType.totalsVisibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy