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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardTableCellStyleArgs.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.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardTableCellStyleArgs.builder
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 com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @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 DashboardTableCellStyleArgs(
    public val backgroundColor: Output? = null,
    public val border: Output? = null,
    public val fontConfiguration: Output? = null,
    public val height: Output? = null,
    public val horizontalTextAlignment: Output? = null,
    public val textWrap: Output? = null,
    public val verticalTextAlignment: Output? = null,
    public val visibility: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardTableCellStyleArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardTableCellStyleArgs.builder()
            .backgroundColor(backgroundColor?.applyValue({ args0 -> args0 }))
            .border(border?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fontConfiguration(fontConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .height(height?.applyValue({ args0 -> args0 }))
            .horizontalTextAlignment(
                horizontalTextAlignment?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .textWrap(textWrap?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .verticalTextAlignment(
                verticalTextAlignment?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardTableCellStyleArgs].
 */
@PulumiTagMarker
public class DashboardTableCellStyleArgsBuilder internal constructor() {
    private var backgroundColor: Output? = null

    private var border: Output? = null

    private var fontConfiguration: Output? = null

    private var height: Output? = null

    private var horizontalTextAlignment: Output? = null

    private var textWrap: Output? = null

    private var verticalTextAlignment: Output? = null

    private var visibility: Output? = null

    /**
     * @param value The background color for the table cells.
     */
    @JvmName("cwkeiyshdxxnafmf")
    public suspend fun backgroundColor(`value`: Output) {
        this.backgroundColor = value
    }

    /**
     * @param value The borders for the table cells.
     */
    @JvmName("hultdyvfpxslmsry")
    public suspend fun border(`value`: Output) {
        this.border = value
    }

    /**
     * @param value The font configuration of the table cells.
     */
    @JvmName("mqrwovwuwtqoskgd")
    public suspend fun fontConfiguration(`value`: Output) {
        this.fontConfiguration = value
    }

    /**
     * @param value The height color for the table cells.
     */
    @JvmName("gljcyhdavbswurrk")
    public suspend fun height(`value`: Output) {
        this.height = value
    }

    /**
     * @param value The horizontal text alignment (left, center, right, auto) for the table cells.
     */
    @JvmName("mvkjwnirgefiohny")
    public suspend fun horizontalTextAlignment(`value`: Output) {
        this.horizontalTextAlignment = value
    }

    /**
     * @param value The text wrap (none, wrap) for the table cells.
     */
    @JvmName("bdvmvsnsuwclfsdj")
    public suspend fun textWrap(`value`: Output) {
        this.textWrap = value
    }

    /**
     * @param value The vertical text alignment (top, middle, bottom) for the table cells.
     */
    @JvmName("fdruurhumquqmfwp")
    public suspend fun verticalTextAlignment(`value`: Output) {
        this.verticalTextAlignment = value
    }

    /**
     * @param value The visibility of the table cells.
     */
    @JvmName("ntddensjajqdfuqc")
    public suspend fun visibility(`value`: Output) {
        this.visibility = value
    }

    /**
     * @param value The background color for the table cells.
     */
    @JvmName("ijkdjgsfclgmcvwx")
    public suspend fun backgroundColor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.backgroundColor = mapped
    }

    /**
     * @param value The borders for the table cells.
     */
    @JvmName("oivqgfdiqpqxehmh")
    public suspend fun border(`value`: DashboardGlobalTableBorderOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.border = mapped
    }

    /**
     * @param argument The borders for the table cells.
     */
    @JvmName("euuisuarkiqsuwts")
    public suspend fun border(argument: suspend DashboardGlobalTableBorderOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardGlobalTableBorderOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.border = mapped
    }

    /**
     * @param value The font configuration of the table cells.
     */
    @JvmName("peaylvkmrjupbcem")
    public suspend fun fontConfiguration(`value`: DashboardFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontConfiguration = mapped
    }

    /**
     * @param argument The font configuration of the table cells.
     */
    @JvmName("ucfvnlwlefhgjonl")
    public suspend fun fontConfiguration(argument: suspend DashboardFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fontConfiguration = mapped
    }

    /**
     * @param value The height color for the table cells.
     */
    @JvmName("qakskvqmtwlonlna")
    public suspend fun height(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.height = mapped
    }

    /**
     * @param value The horizontal text alignment (left, center, right, auto) for the table cells.
     */
    @JvmName("hhlkixeyjphqtcst")
    public suspend fun horizontalTextAlignment(`value`: DashboardHorizontalTextAlignment?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.horizontalTextAlignment = mapped
    }

    /**
     * @param value The text wrap (none, wrap) for the table cells.
     */
    @JvmName("olyfkvgbvwdaobqy")
    public suspend fun textWrap(`value`: DashboardTextWrap?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.textWrap = mapped
    }

    /**
     * @param value The vertical text alignment (top, middle, bottom) for the table cells.
     */
    @JvmName("illoinukywtiulgq")
    public suspend fun verticalTextAlignment(`value`: DashboardVerticalTextAlignment?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.verticalTextAlignment = mapped
    }

    /**
     * @param value The visibility of the table cells.
     */
    @JvmName("husuxpvyekrhnret")
    public suspend fun visibility(`value`: DashboardVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

    internal fun build(): DashboardTableCellStyleArgs = DashboardTableCellStyleArgs(
        backgroundColor = backgroundColor,
        border = border,
        fontConfiguration = fontConfiguration,
        height = height,
        horizontalTextAlignment = horizontalTextAlignment,
        textWrap = textWrap,
        verticalTextAlignment = verticalTextAlignment,
        visibility = visibility,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy