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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardVisualSubtitleLabelOptionsArgs.kt Maven / Gradle / Ivy

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

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

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

/**
 *
 * @property formatText The long text format of the subtitle label, such as plain text or rich text.
 * @property visibility The visibility of the subtitle label.
 */
public data class DashboardVisualSubtitleLabelOptionsArgs(
    public val formatText: Output? = null,
    public val visibility: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardVisualSubtitleLabelOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardVisualSubtitleLabelOptionsArgs.builder()
            .formatText(formatText?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardVisualSubtitleLabelOptionsArgs].
 */
@PulumiTagMarker
public class DashboardVisualSubtitleLabelOptionsArgsBuilder internal constructor() {
    private var formatText: Output? = null

    private var visibility: Output? = null

    /**
     * @param value The long text format of the subtitle label, such as plain text or rich text.
     */
    @JvmName("ofdoturnqdwegbnw")
    public suspend fun formatText(`value`: Output) {
        this.formatText = value
    }

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

    /**
     * @param value The long text format of the subtitle label, such as plain text or rich text.
     */
    @JvmName("nlnbwqfqrgcghykq")
    public suspend fun formatText(`value`: DashboardLongFormatTextArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.formatText = mapped
    }

    /**
     * @param argument The long text format of the subtitle label, such as plain text or rich text.
     */
    @JvmName("ayeyaymmjqvmsifo")
    public suspend fun formatText(argument: suspend DashboardLongFormatTextArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardLongFormatTextArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.formatText = mapped
    }

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

    internal fun build(): DashboardVisualSubtitleLabelOptionsArgs =
        DashboardVisualSubtitleLabelOptionsArgs(
            formatText = formatText,
            visibility = visibility,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy