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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisFunnelChartDataLabelOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisDataLabelPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFunnelChartMeasureDataLabelStyle
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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 AnalysisFunnelChartDataLabelOptionsArgs(
    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.AnalysisFunnelChartDataLabelOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisFunnelChartDataLabelOptionsArgs.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 [AnalysisFunnelChartDataLabelOptionsArgs].
 */
@PulumiTagMarker
public class AnalysisFunnelChartDataLabelOptionsArgsBuilder 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("tgabqfkcpekvdwhw")
    public suspend fun categoryLabelVisibility(`value`: Output) {
        this.categoryLabelVisibility = value
    }

    /**
     * @param value The color of the data label text.
     */
    @JvmName("uwyunqsigtwwpcup")
    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("jkhtpuuqoaapqayd")
    public suspend fun labelFontConfiguration(`value`: Output) {
        this.labelFontConfiguration = value
    }

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

    /**
     * @param value The visibility of the measure labels within the data labels.
     */
    @JvmName("vmlimdufrqcsqkhe")
    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("viibuktshgusnkja")
    public suspend fun position(`value`: Output) {
        this.position = value
    }

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

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

    /**
     * @param value The color of the data label text.
     */
    @JvmName("kmqsfoijwwkcyckp")
    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("nisrwcmbmqpujnrg")
    public suspend fun labelFontConfiguration(`value`: AnalysisFontConfigurationArgs?) {
        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("lgtqupfgjacrscgm")
    public suspend fun labelFontConfiguration(argument: suspend AnalysisFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.labelFontConfiguration = mapped
    }

    /**
     * @param value Determines the style of the metric labels.
     */
    @JvmName("vhcdipvlvpmahibx")
    public suspend fun measureDataLabelStyle(`value`: AnalysisFunnelChartMeasureDataLabelStyle?) {
        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("wnpyinxkefcskryi")
    public suspend fun measureLabelVisibility(`value`: AnalysisVisibility?) {
        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("wnrkfftfcfkgbcmb")
    public suspend fun position(`value`: AnalysisDataLabelPosition?) {
        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("hcxwbjjrjfaibpgk")
    public suspend fun visibility(`value`: AnalysisVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy