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

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

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

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

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTableOrientation
import kotlin.Suppress

/**
 *
 * @property cellStyle The table cell style of table cells.
 * @property headerStyle The table cell style of a table header.
 * @property orientation The orientation (vertical, horizontal) for a table.
 * @property rowAlternateColorOptions The row alternate color options (widget status, row alternate colors) for a table.
 */
public data class TemplateTableOptions(
    public val cellStyle: TemplateTableCellStyle? = null,
    public val headerStyle: TemplateTableCellStyle? = null,
    public val orientation: TemplateTableOrientation? = null,
    public val rowAlternateColorOptions: TemplateRowAlternateColorOptions? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateTableOptions): TemplateTableOptions = TemplateTableOptions(
            cellStyle = javaType.cellStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            headerStyle = javaType.headerStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTableCellStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            orientation = javaType.orientation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTableOrientation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            rowAlternateColorOptions = javaType.rowAlternateColorOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateRowAlternateColorOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy