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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTableCellStyle.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.AnalysisHorizontalTextAlignment
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTextWrap
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVerticalTextAlignment
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property backgroundColor The background color for the table cells.
 * @property border The borders for the table cells.
 * @property fontConfiguration The font configuration of the table cells.
 * @property height The height color for the table cells.
 * @property horizontalTextAlignment The horizontal text alignment (left, center, right, auto) for the table cells.
 * @property textWrap The text wrap (none, wrap) for the table cells.
 * @property verticalTextAlignment The vertical text alignment (top, middle, bottom) for the table cells.
 * @property visibility The visibility of the table cells.
 */
public data class AnalysisTableCellStyle(
    public val backgroundColor: String? = null,
    public val border: AnalysisGlobalTableBorderOptions? = null,
    public val fontConfiguration: AnalysisFontConfiguration? = null,
    public val height: Double? = null,
    public val horizontalTextAlignment: AnalysisHorizontalTextAlignment? = null,
    public val textWrap: AnalysisTextWrap? = null,
    public val verticalTextAlignment: AnalysisVerticalTextAlignment? = null,
    public val visibility: AnalysisVisibility? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisTableCellStyle): AnalysisTableCellStyle = AnalysisTableCellStyle(
            backgroundColor = javaType.backgroundColor().map({ args0 -> args0 }).orElse(null),
            border = javaType.border().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGlobalTableBorderOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            fontConfiguration = javaType.fontConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            height = javaType.height().map({ args0 -> args0 }).orElse(null),
            horizontalTextAlignment = javaType.horizontalTextAlignment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisHorizontalTextAlignment.Companion.toKotlin(args0)
                })
            }).orElse(null),
            textWrap = javaType.textWrap().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTextWrap.Companion.toKotlin(args0)
                })
            }).orElse(null),
            verticalTextAlignment = javaType.verticalTextAlignment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVerticalTextAlignment.Companion.toKotlin(args0)
                })
            }).orElse(null),
            visibility = javaType.visibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy