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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPivotTotalOptions.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTableTotalsPlacement
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTableTotalsScrollStatus
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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 AnalysisPivotTotalOptions(
    public val customLabel: String? = null,
    public val metricHeaderCellStyle: AnalysisTableCellStyle? = null,
    public val placement: AnalysisTableTotalsPlacement? = null,
    public val scrollStatus: AnalysisTableTotalsScrollStatus? = null,
    public val totalAggregationOptions: List? = null,
    public val totalCellStyle: AnalysisTableCellStyle? = null,
    public val totalsVisibility: AnalysisVisibility? = null,
    public val valueCellStyle: AnalysisTableCellStyle? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisPivotTotalOptions): AnalysisPivotTotalOptions = AnalysisPivotTotalOptions(
            customLabel = javaType.customLabel().map({ args0 -> args0 }).orElse(null),
            metricHeaderCellStyle = javaType.metricHeaderCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            placement = javaType.placement().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTableTotalsPlacement.Companion.toKotlin(args0)
                })
            }).orElse(null),
            scrollStatus = javaType.scrollStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTableTotalsScrollStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalAggregationOptions = javaType.totalAggregationOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTotalAggregationOption.Companion.toKotlin(args0)
                })
            }),
            totalCellStyle = javaType.totalCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalsVisibility = javaType.totalsVisibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            valueCellStyle = javaType.valueCellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy