
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTableCellStyle.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardHorizontalTextAlignment
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTextWrap
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVerticalTextAlignment
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
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 DashboardTableCellStyle(
public val backgroundColor: String? = null,
public val border: DashboardGlobalTableBorderOptions? = null,
public val fontConfiguration: DashboardFontConfiguration? = null,
public val height: Double? = null,
public val horizontalTextAlignment: DashboardHorizontalTextAlignment? = null,
public val textWrap: DashboardTextWrap? = null,
public val verticalTextAlignment: DashboardVerticalTextAlignment? = null,
public val visibility: DashboardVisibility? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardTableCellStyle): DashboardTableCellStyle = DashboardTableCellStyle(
backgroundColor = javaType.backgroundColor().map({ args0 -> args0 }).orElse(null),
border = javaType.border().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGlobalTableBorderOptions.Companion.toKotlin(args0)
})
}).orElse(null),
fontConfiguration = javaType.fontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFontConfiguration.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.DashboardHorizontalTextAlignment.Companion.toKotlin(args0)
})
}).orElse(null),
textWrap = javaType.textWrap().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTextWrap.Companion.toKotlin(args0)
})
}).orElse(null),
verticalTextAlignment = javaType.verticalTextAlignment().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVerticalTextAlignment.Companion.toKotlin(args0)
})
}).orElse(null),
visibility = javaType.visibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy