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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePivotTotalOptions.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.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTableTotalsPlacement
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTableTotalsScrollStatus
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property customLabel The custom label string for the total cells.
 * @property metricHeaderCellStyle The cell styling options for the total of header 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 options for each value field.
 * @property totalCellStyle The cell styling options for the total cells.
 * @property totalsVisibility The visibility configuration for the total cells.
 * @property valueCellStyle The cell styling options for the totals of value cells.
 */
public data class TemplatePivotTotalOptions(
    public val customLabel: String? = null,
    public val metricHeaderCellStyle: TemplateTableCellStyle? = null,
    public val placement: TemplateTableTotalsPlacement? = null,
    public val scrollStatus: TemplateTableTotalsScrollStatus? = null,
    public val totalAggregationOptions: List? = null,
    public val totalCellStyle: TemplateTableCellStyle? = null,
    public val totalsVisibility: TemplateVisibility? = null,
    public val valueCellStyle: TemplateTableCellStyle? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplatePivotTotalOptions): TemplatePivotTotalOptions = TemplatePivotTotalOptions(
            customLabel = javaType.customLabel().map({ args0 -> args0 }).orElse(null),
            metricHeaderCellStyle = javaType.metricHeaderCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            placement = javaType.placement().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTableTotalsPlacement.Companion.toKotlin(args0)
                })
            }).orElse(null),
            scrollStatus = javaType.scrollStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTableTotalsScrollStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalAggregationOptions = javaType.totalAggregationOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTotalAggregationOption.Companion.toKotlin(args0)
                })
            }),
            totalCellStyle = javaType.totalCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalsVisibility = javaType.totalsVisibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            valueCellStyle = javaType.valueCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy