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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateFunnelChartDataLabelOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateFunnelChartMeasureDataLabelStyle
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property categoryLabelVisibility The visibility of the category labels within the data labels.
 * @property labelColor The color of the data label text.
 * @property labelFontConfiguration The font configuration for the data labels.
 * Only the `FontSize` attribute of the font configuration is used for data labels.
 * @property measureDataLabelStyle Determines the style of the metric labels.
 * @property measureLabelVisibility The visibility of the measure labels within the data labels.
 * @property position Determines the positioning of the data label relative to a section of the funnel.
 * @property visibility The visibility option that determines if data labels are displayed.
 */
public data class TemplateFunnelChartDataLabelOptionsArgs(
    public val categoryLabelVisibility: Output? = null,
    public val labelColor: Output? = null,
    public val labelFontConfiguration: Output? = null,
    public val measureDataLabelStyle: Output? = null,
    public val measureLabelVisibility: Output? = null,
    public val position: Output? = null,
    public val visibility: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateFunnelChartDataLabelOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateFunnelChartDataLabelOptionsArgs.builder()
            .categoryLabelVisibility(
                categoryLabelVisibility?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .labelColor(labelColor?.applyValue({ args0 -> args0 }))
            .labelFontConfiguration(
                labelFontConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .measureDataLabelStyle(
                measureDataLabelStyle?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .measureLabelVisibility(
                measureLabelVisibility?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .position(position?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateFunnelChartDataLabelOptionsArgs].
 */
@PulumiTagMarker
public class TemplateFunnelChartDataLabelOptionsArgsBuilder internal constructor() {
    private var categoryLabelVisibility: Output? = null

    private var labelColor: Output? = null

    private var labelFontConfiguration: Output? = null

    private var measureDataLabelStyle: Output? = null

    private var measureLabelVisibility: Output? = null

    private var position: Output? = null

    private var visibility: Output? = null

    /**
     * @param value The visibility of the category labels within the data labels.
     */
    @JvmName("ugbbvmwudvdlojwy")
    public suspend fun categoryLabelVisibility(`value`: Output) {
        this.categoryLabelVisibility = value
    }

    /**
     * @param value The color of the data label text.
     */
    @JvmName("csqjklodohraiwdi")
    public suspend fun labelColor(`value`: Output) {
        this.labelColor = value
    }

    /**
     * @param value The font configuration for the data labels.
     * Only the `FontSize` attribute of the font configuration is used for data labels.
     */
    @JvmName("fqiehhctkhvjlfuw")
    public suspend fun labelFontConfiguration(`value`: Output) {
        this.labelFontConfiguration = value
    }

    /**
     * @param value Determines the style of the metric labels.
     */
    @JvmName("panpeuioleybqxpx")
    public suspend fun measureDataLabelStyle(`value`: Output) {
        this.measureDataLabelStyle = value
    }

    /**
     * @param value The visibility of the measure labels within the data labels.
     */
    @JvmName("rrhjsmyxhdtxwyrh")
    public suspend fun measureLabelVisibility(`value`: Output) {
        this.measureLabelVisibility = value
    }

    /**
     * @param value Determines the positioning of the data label relative to a section of the funnel.
     */
    @JvmName("dgjwbsrrejndywnh")
    public suspend fun position(`value`: Output) {
        this.position = value
    }

    /**
     * @param value The visibility option that determines if data labels are displayed.
     */
    @JvmName("tqshxflymatjbhhd")
    public suspend fun visibility(`value`: Output) {
        this.visibility = value
    }

    /**
     * @param value The visibility of the category labels within the data labels.
     */
    @JvmName("clomwlsiljvjbsev")
    public suspend fun categoryLabelVisibility(`value`: TemplateVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryLabelVisibility = mapped
    }

    /**
     * @param value The color of the data label text.
     */
    @JvmName("vgotvrmrnmmbxmjq")
    public suspend fun labelColor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labelColor = mapped
    }

    /**
     * @param value The font configuration for the data labels.
     * Only the `FontSize` attribute of the font configuration is used for data labels.
     */
    @JvmName("spfxrwrjcgmhuace")
    public suspend fun labelFontConfiguration(`value`: TemplateFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labelFontConfiguration = mapped
    }

    /**
     * @param argument The font configuration for the data labels.
     * Only the `FontSize` attribute of the font configuration is used for data labels.
     */
    @JvmName("aqwxkborypivhfms")
    public suspend fun labelFontConfiguration(argument: suspend TemplateFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.labelFontConfiguration = mapped
    }

    /**
     * @param value Determines the style of the metric labels.
     */
    @JvmName("fvspwxfogefdhfle")
    public suspend fun measureDataLabelStyle(`value`: TemplateFunnelChartMeasureDataLabelStyle?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.measureDataLabelStyle = mapped
    }

    /**
     * @param value The visibility of the measure labels within the data labels.
     */
    @JvmName("vlqaoaivdbqccdto")
    public suspend fun measureLabelVisibility(`value`: TemplateVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.measureLabelVisibility = mapped
    }

    /**
     * @param value Determines the positioning of the data label relative to a section of the funnel.
     */
    @JvmName("elmpimjixsdcmctx")
    public suspend fun position(`value`: TemplateDataLabelPosition?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.position = mapped
    }

    /**
     * @param value The visibility option that determines if data labels are displayed.
     */
    @JvmName("epmwjvxshbylwngr")
    public suspend fun visibility(`value`: TemplateVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

    internal fun build(): TemplateFunnelChartDataLabelOptionsArgs =
        TemplateFunnelChartDataLabelOptionsArgs(
            categoryLabelVisibility = categoryLabelVisibility,
            labelColor = labelColor,
            labelFontConfiguration = labelFontConfiguration,
            measureDataLabelStyle = measureDataLabelStyle,
            measureLabelVisibility = measureLabelVisibility,
            position = position,
            visibility = visibility,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy