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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineLabelConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisReferenceLineLabelHorizontalPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisReferenceLineLabelVerticalPosition
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 customLabelConfiguration The custom label configuration of the label in a reference line.
 * @property fontColor The font color configuration of the label in a reference line.
 * @property fontConfiguration The font configuration of the label in a reference line.
 * @property horizontalPosition The horizontal position configuration of the label in a reference line. Choose one of the following options:
 * - `LEFT`
 * - `CENTER`
 * - `RIGHT`
 * @property valueLabelConfiguration The value label configuration of the label in a reference line.
 * @property verticalPosition The vertical position configuration of the label in a reference line. Choose one of the following options:
 * - `ABOVE`
 * - `BELOW`
 */
public data class AnalysisReferenceLineLabelConfigurationArgs(
    public val customLabelConfiguration: Output? =
        null,
    public val fontColor: Output? = null,
    public val fontConfiguration: Output? = null,
    public val horizontalPosition: Output? = null,
    public val valueLabelConfiguration: Output? =
        null,
    public val verticalPosition: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineLabelConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineLabelConfigurationArgs.builder()
            .customLabelConfiguration(
                customLabelConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .fontColor(fontColor?.applyValue({ args0 -> args0 }))
            .fontConfiguration(fontConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .horizontalPosition(
                horizontalPosition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .valueLabelConfiguration(
                valueLabelConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .verticalPosition(
                verticalPosition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AnalysisReferenceLineLabelConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisReferenceLineLabelConfigurationArgsBuilder internal constructor() {
    private var customLabelConfiguration: Output? =
        null

    private var fontColor: Output? = null

    private var fontConfiguration: Output? = null

    private var horizontalPosition: Output? = null

    private var valueLabelConfiguration: Output? =
        null

    private var verticalPosition: Output? = null

    /**
     * @param value The custom label configuration of the label in a reference line.
     */
    @JvmName("uakxlqdamxjurwvj")
    public suspend fun customLabelConfiguration(`value`: Output) {
        this.customLabelConfiguration = value
    }

    /**
     * @param value The font color configuration of the label in a reference line.
     */
    @JvmName("pjuhvbrhqtfjnmmx")
    public suspend fun fontColor(`value`: Output) {
        this.fontColor = value
    }

    /**
     * @param value The font configuration of the label in a reference line.
     */
    @JvmName("ishblixymqbqaxeh")
    public suspend fun fontConfiguration(`value`: Output) {
        this.fontConfiguration = value
    }

    /**
     * @param value The horizontal position configuration of the label in a reference line. Choose one of the following options:
     * - `LEFT`
     * - `CENTER`
     * - `RIGHT`
     */
    @JvmName("agiltnacgexysucr")
    public suspend fun horizontalPosition(`value`: Output) {
        this.horizontalPosition = value
    }

    /**
     * @param value The value label configuration of the label in a reference line.
     */
    @JvmName("udviqbpbhdocdfli")
    public suspend fun valueLabelConfiguration(`value`: Output) {
        this.valueLabelConfiguration = value
    }

    /**
     * @param value The vertical position configuration of the label in a reference line. Choose one of the following options:
     * - `ABOVE`
     * - `BELOW`
     */
    @JvmName("yqyawrmgtktiojxw")
    public suspend fun verticalPosition(`value`: Output) {
        this.verticalPosition = value
    }

    /**
     * @param value The custom label configuration of the label in a reference line.
     */
    @JvmName("pjpnwpcdkcflqycu")
    public suspend fun customLabelConfiguration(`value`: AnalysisReferenceLineCustomLabelConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customLabelConfiguration = mapped
    }

    /**
     * @param argument The custom label configuration of the label in a reference line.
     */
    @JvmName("ubkfmhjheaauufyf")
    public suspend fun customLabelConfiguration(argument: suspend AnalysisReferenceLineCustomLabelConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisReferenceLineCustomLabelConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.customLabelConfiguration = mapped
    }

    /**
     * @param value The font color configuration of the label in a reference line.
     */
    @JvmName("jogomtsutnubeejk")
    public suspend fun fontColor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontColor = mapped
    }

    /**
     * @param value The font configuration of the label in a reference line.
     */
    @JvmName("ovomqaknrkmfmvbe")
    public suspend fun fontConfiguration(`value`: AnalysisFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontConfiguration = mapped
    }

    /**
     * @param argument The font configuration of the label in a reference line.
     */
    @JvmName("psgaqamlxvimgynd")
    public suspend fun fontConfiguration(argument: suspend AnalysisFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fontConfiguration = mapped
    }

    /**
     * @param value The horizontal position configuration of the label in a reference line. Choose one of the following options:
     * - `LEFT`
     * - `CENTER`
     * - `RIGHT`
     */
    @JvmName("mctcoljbadnkofnj")
    public suspend fun horizontalPosition(`value`: AnalysisReferenceLineLabelHorizontalPosition?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.horizontalPosition = mapped
    }

    /**
     * @param value The value label configuration of the label in a reference line.
     */
    @JvmName("abblvutcpseyqsav")
    public suspend fun valueLabelConfiguration(`value`: AnalysisReferenceLineValueLabelConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.valueLabelConfiguration = mapped
    }

    /**
     * @param argument The value label configuration of the label in a reference line.
     */
    @JvmName("awoxycrvukiestfi")
    public suspend fun valueLabelConfiguration(argument: suspend AnalysisReferenceLineValueLabelConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisReferenceLineValueLabelConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.valueLabelConfiguration = mapped
    }

    /**
     * @param value The vertical position configuration of the label in a reference line. Choose one of the following options:
     * - `ABOVE`
     * - `BELOW`
     */
    @JvmName("danjdepoubskjonv")
    public suspend fun verticalPosition(`value`: AnalysisReferenceLineLabelVerticalPosition?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.verticalPosition = mapped
    }

    internal fun build(): AnalysisReferenceLineLabelConfigurationArgs =
        AnalysisReferenceLineLabelConfigurationArgs(
            customLabelConfiguration = customLabelConfiguration,
            fontColor = fontColor,
            fontConfiguration = fontConfiguration,
            horizontalPosition = horizontalPosition,
            valueLabelConfiguration = valueLabelConfiguration,
            verticalPosition = verticalPosition,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy