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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateAxisDisplayOptionsArgs.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplateAxisDisplayOptionsArgs.builder
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 axisLineVisibility Determines whether or not the axis line is visible.
 * @property axisOffset String based length that is composed of value and unit in px
 * @property dataOptions The data options for an axis.
 * @property gridLineVisibility Determines whether or not the grid line is visible.
 * @property scrollbarOptions The scroll bar options for an axis.
 * @property tickLabelOptions The tick label options of an axis.
 */
public data class TemplateAxisDisplayOptionsArgs(
    public val axisLineVisibility: Output? = null,
    public val axisOffset: Output? = null,
    public val dataOptions: Output? = null,
    public val gridLineVisibility: Output? = null,
    public val scrollbarOptions: Output? = null,
    public val tickLabelOptions: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateAxisDisplayOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateAxisDisplayOptionsArgs.builder()
            .axisLineVisibility(
                axisLineVisibility?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .axisOffset(axisOffset?.applyValue({ args0 -> args0 }))
            .dataOptions(dataOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .gridLineVisibility(
                gridLineVisibility?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .scrollbarOptions(scrollbarOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tickLabelOptions(
                tickLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [TemplateAxisDisplayOptionsArgs].
 */
@PulumiTagMarker
public class TemplateAxisDisplayOptionsArgsBuilder internal constructor() {
    private var axisLineVisibility: Output? = null

    private var axisOffset: Output? = null

    private var dataOptions: Output? = null

    private var gridLineVisibility: Output? = null

    private var scrollbarOptions: Output? = null

    private var tickLabelOptions: Output? = null

    /**
     * @param value Determines whether or not the axis line is visible.
     */
    @JvmName("inmrpulqngsuwusy")
    public suspend fun axisLineVisibility(`value`: Output) {
        this.axisLineVisibility = value
    }

    /**
     * @param value String based length that is composed of value and unit in px
     */
    @JvmName("urchsfxenhgvsrqq")
    public suspend fun axisOffset(`value`: Output) {
        this.axisOffset = value
    }

    /**
     * @param value The data options for an axis.
     */
    @JvmName("jxbflthivebivboc")
    public suspend fun dataOptions(`value`: Output) {
        this.dataOptions = value
    }

    /**
     * @param value Determines whether or not the grid line is visible.
     */
    @JvmName("towcsbxxoykhulse")
    public suspend fun gridLineVisibility(`value`: Output) {
        this.gridLineVisibility = value
    }

    /**
     * @param value The scroll bar options for an axis.
     */
    @JvmName("eyewxcscmmjvpkia")
    public suspend fun scrollbarOptions(`value`: Output) {
        this.scrollbarOptions = value
    }

    /**
     * @param value The tick label options of an axis.
     */
    @JvmName("veghamfotgbqvovu")
    public suspend fun tickLabelOptions(`value`: Output) {
        this.tickLabelOptions = value
    }

    /**
     * @param value Determines whether or not the axis line is visible.
     */
    @JvmName("oabmxnydgtlnmbrt")
    public suspend fun axisLineVisibility(`value`: TemplateVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.axisLineVisibility = mapped
    }

    /**
     * @param value String based length that is composed of value and unit in px
     */
    @JvmName("xbawvbuwitfjigkt")
    public suspend fun axisOffset(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.axisOffset = mapped
    }

    /**
     * @param value The data options for an axis.
     */
    @JvmName("tsblelaxpurfsslv")
    public suspend fun dataOptions(`value`: TemplateAxisDataOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataOptions = mapped
    }

    /**
     * @param argument The data options for an axis.
     */
    @JvmName("pjadrkuwhgohuuxo")
    public suspend fun dataOptions(argument: suspend TemplateAxisDataOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDataOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataOptions = mapped
    }

    /**
     * @param value Determines whether or not the grid line is visible.
     */
    @JvmName("nslrdtqncnekqvkq")
    public suspend fun gridLineVisibility(`value`: TemplateVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gridLineVisibility = mapped
    }

    /**
     * @param value The scroll bar options for an axis.
     */
    @JvmName("amowudmnckeancee")
    public suspend fun scrollbarOptions(`value`: TemplateScrollBarOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scrollbarOptions = mapped
    }

    /**
     * @param argument The scroll bar options for an axis.
     */
    @JvmName("cjiowhyeuxrroprq")
    public suspend fun scrollbarOptions(argument: suspend TemplateScrollBarOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateScrollBarOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.scrollbarOptions = mapped
    }

    /**
     * @param value The tick label options of an axis.
     */
    @JvmName("rwuyxiywdxyudfqh")
    public suspend fun tickLabelOptions(`value`: TemplateAxisTickLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tickLabelOptions = mapped
    }

    /**
     * @param argument The tick label options of an axis.
     */
    @JvmName("porfacwwhjgvrvcb")
    public suspend fun tickLabelOptions(argument: suspend TemplateAxisTickLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisTickLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tickLabelOptions = mapped
    }

    internal fun build(): TemplateAxisDisplayOptionsArgs = TemplateAxisDisplayOptionsArgs(
        axisLineVisibility = axisLineVisibility,
        axisOffset = axisOffset,
        dataOptions = dataOptions,
        gridLineVisibility = gridLineVisibility,
        scrollbarOptions = scrollbarOptions,
        tickLabelOptions = tickLabelOptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy