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

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

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.TemplatePanelTitleOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateHorizontalTextAlignment
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property fontConfiguration
 * @property horizontalTextAlignment Sets the horizontal text alignment of the title within each panel.
 * @property visibility Determines whether or not panel titles are displayed.
 */
public data class TemplatePanelTitleOptionsArgs(
    public val fontConfiguration: Output? = null,
    public val horizontalTextAlignment: Output? = null,
    public val visibility: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplatePanelTitleOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplatePanelTitleOptionsArgs.builder()
            .fontConfiguration(fontConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .horizontalTextAlignment(
                horizontalTextAlignment?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplatePanelTitleOptionsArgs].
 */
@PulumiTagMarker
public class TemplatePanelTitleOptionsArgsBuilder internal constructor() {
    private var fontConfiguration: Output? = null

    private var horizontalTextAlignment: Output? = null

    private var visibility: Output? = null

    /**
     * @param value
     */
    @JvmName("ghcfqgvwnxvwedha")
    public suspend fun fontConfiguration(`value`: Output) {
        this.fontConfiguration = value
    }

    /**
     * @param value Sets the horizontal text alignment of the title within each panel.
     */
    @JvmName("hflqkxgjbayuhghn")
    public suspend fun horizontalTextAlignment(`value`: Output) {
        this.horizontalTextAlignment = value
    }

    /**
     * @param value Determines whether or not panel titles are displayed.
     */
    @JvmName("rgvsxbhduvxymtqj")
    public suspend fun visibility(`value`: Output) {
        this.visibility = value
    }

    /**
     * @param value
     */
    @JvmName("qrsdsptoyjffkutr")
    public suspend fun fontConfiguration(`value`: TemplateFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontConfiguration = mapped
    }

    /**
     * @param argument
     */
    @JvmName("fxgrldafxawcctdq")
    public suspend fun fontConfiguration(argument: suspend TemplateFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fontConfiguration = mapped
    }

    /**
     * @param value Sets the horizontal text alignment of the title within each panel.
     */
    @JvmName("owxmamrvgrpyffkq")
    public suspend fun horizontalTextAlignment(`value`: TemplateHorizontalTextAlignment?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.horizontalTextAlignment = mapped
    }

    /**
     * @param value Determines whether or not panel titles are displayed.
     */
    @JvmName("exngeluakpseliqh")
    public suspend fun visibility(`value`: TemplateVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

    internal fun build(): TemplatePanelTitleOptionsArgs = TemplatePanelTitleOptionsArgs(
        fontConfiguration = fontConfiguration,
        horizontalTextAlignment = horizontalTextAlignment,
        visibility = visibility,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy