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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardAxisLabelOptionsArgs.builder
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 applyTo The options that indicate which field the label belongs to.
 * @property customLabel The text for the axis label.
 * @property fontConfiguration The font configuration of the axis label.
 */
public data class DashboardAxisLabelOptionsArgs(
    public val applyTo: Output? = null,
    public val customLabel: Output? = null,
    public val fontConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardAxisLabelOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardAxisLabelOptionsArgs.builder()
            .applyTo(applyTo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .customLabel(customLabel?.applyValue({ args0 -> args0 }))
            .fontConfiguration(
                fontConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardAxisLabelOptionsArgs].
 */
@PulumiTagMarker
public class DashboardAxisLabelOptionsArgsBuilder internal constructor() {
    private var applyTo: Output? = null

    private var customLabel: Output? = null

    private var fontConfiguration: Output? = null

    /**
     * @param value The options that indicate which field the label belongs to.
     */
    @JvmName("leqhilukbfytmoxb")
    public suspend fun applyTo(`value`: Output) {
        this.applyTo = value
    }

    /**
     * @param value The text for the axis label.
     */
    @JvmName("wfbxvmqotefvksvs")
    public suspend fun customLabel(`value`: Output) {
        this.customLabel = value
    }

    /**
     * @param value The font configuration of the axis label.
     */
    @JvmName("migmatcevwqmdenw")
    public suspend fun fontConfiguration(`value`: Output) {
        this.fontConfiguration = value
    }

    /**
     * @param value The options that indicate which field the label belongs to.
     */
    @JvmName("xuypmcadefvmihwp")
    public suspend fun applyTo(`value`: DashboardAxisLabelReferenceOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applyTo = mapped
    }

    /**
     * @param argument The options that indicate which field the label belongs to.
     */
    @JvmName("gwpmrjwwhgvyunrs")
    public suspend fun applyTo(argument: suspend DashboardAxisLabelReferenceOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisLabelReferenceOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.applyTo = mapped
    }

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

    /**
     * @param value The font configuration of the axis label.
     */
    @JvmName("aeebtesphdcfccgp")
    public suspend fun fontConfiguration(`value`: DashboardFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontConfiguration = mapped
    }

    /**
     * @param argument The font configuration of the axis label.
     */
    @JvmName("vinqpeskekrsykmm")
    public suspend fun fontConfiguration(argument: suspend DashboardFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fontConfiguration = mapped
    }

    internal fun build(): DashboardAxisLabelOptionsArgs = DashboardAxisLabelOptionsArgs(
        applyTo = applyTo,
        customLabel = customLabel,
        fontConfiguration = fontConfiguration,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy