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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.DashboardChartAxisLabelOptionsArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property axisLabelOptions The label options for a chart axis.
 * @property sortIconVisibility The visibility configuration of the sort icon on a chart's axis label.
 * @property visibility The visibility of an axis label on a chart. Choose one of the following options:
 * - `VISIBLE` : Shows the axis.
 * - `HIDDEN` : Hides the axis.
 */
public data class DashboardChartAxisLabelOptionsArgs(
    public val axisLabelOptions: Output>? = null,
    public val sortIconVisibility: Output? = null,
    public val visibility: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardChartAxisLabelOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardChartAxisLabelOptionsArgs.builder()
            .axisLabelOptions(
                axisLabelOptions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .sortIconVisibility(
                sortIconVisibility?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardChartAxisLabelOptionsArgs].
 */
@PulumiTagMarker
public class DashboardChartAxisLabelOptionsArgsBuilder internal constructor() {
    private var axisLabelOptions: Output>? = null

    private var sortIconVisibility: Output? = null

    private var visibility: Output? = null

    /**
     * @param value The label options for a chart axis.
     */
    @JvmName("kgvgvnoaykjkibgw")
    public suspend fun axisLabelOptions(`value`: Output>) {
        this.axisLabelOptions = value
    }

    @JvmName("fvwaptrefmqtndef")
    public suspend fun axisLabelOptions(vararg values: Output) {
        this.axisLabelOptions = Output.all(values.asList())
    }

    /**
     * @param values The label options for a chart axis.
     */
    @JvmName("uaqeyukguwklofxq")
    public suspend fun axisLabelOptions(values: List>) {
        this.axisLabelOptions = Output.all(values)
    }

    /**
     * @param value The visibility configuration of the sort icon on a chart's axis label.
     */
    @JvmName("isxqyewitcgcndru")
    public suspend fun sortIconVisibility(`value`: Output) {
        this.sortIconVisibility = value
    }

    /**
     * @param value The visibility of an axis label on a chart. Choose one of the following options:
     * - `VISIBLE` : Shows the axis.
     * - `HIDDEN` : Hides the axis.
     */
    @JvmName("bsnhelergbgjvngl")
    public suspend fun visibility(`value`: Output) {
        this.visibility = value
    }

    /**
     * @param value The label options for a chart axis.
     */
    @JvmName("knymcpfjcapcphlq")
    public suspend fun axisLabelOptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.axisLabelOptions = mapped
    }

    /**
     * @param argument The label options for a chart axis.
     */
    @JvmName("nmvjndjxqhuhrhxy")
    public suspend fun axisLabelOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardAxisLabelOptionsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.axisLabelOptions = mapped
    }

    /**
     * @param argument The label options for a chart axis.
     */
    @JvmName("iwrattptfthfnoyl")
    public suspend fun axisLabelOptions(vararg argument: suspend DashboardAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardAxisLabelOptionsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.axisLabelOptions = mapped
    }

    /**
     * @param argument The label options for a chart axis.
     */
    @JvmName("pbokpejhwcrclybl")
    public suspend fun axisLabelOptions(argument: suspend DashboardAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardAxisLabelOptionsArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.axisLabelOptions = mapped
    }

    /**
     * @param values The label options for a chart axis.
     */
    @JvmName("oxvnfagllqchkvar")
    public suspend fun axisLabelOptions(vararg values: DashboardAxisLabelOptionsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.axisLabelOptions = mapped
    }

    /**
     * @param value The visibility configuration of the sort icon on a chart's axis label.
     */
    @JvmName("rbgpheblgthadvhd")
    public suspend fun sortIconVisibility(`value`: DashboardVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sortIconVisibility = mapped
    }

    /**
     * @param value The visibility of an axis label on a chart. Choose one of the following options:
     * - `VISIBLE` : Shows the axis.
     * - `HIDDEN` : Hides the axis.
     */
    @JvmName("aekkpwshljkodxym")
    public suspend fun visibility(`value`: DashboardVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

    internal fun build(): DashboardChartAxisLabelOptionsArgs = DashboardChartAxisLabelOptionsArgs(
        axisLabelOptions = axisLabelOptions,
        sortIconVisibility = sortIconVisibility,
        visibility = visibility,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy