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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisReferenceLineDataConfigurationArgs.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.AnalysisReferenceLineDataConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisAxisBinding
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisReferenceLineSeriesType
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.jvm.JvmName

/**
 *
 * @property axisBinding The axis binding type of the reference line. Choose one of the following options:
 * - `PrimaryY`
 * - `SecondaryY`
 * @property dynamicConfiguration The dynamic configuration of the reference line data configuration.
 * @property seriesType The series type of the reference line data configuration. Choose one of the following options:
 * - `BAR`
 * - `LINE`
 * @property staticConfiguration The static data configuration of the reference line data configuration.
 */
public data class AnalysisReferenceLineDataConfigurationArgs(
    public val axisBinding: Output? = null,
    public val dynamicConfiguration: Output? =
        null,
    public val seriesType: Output? = null,
    public val staticConfiguration: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineDataConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineDataConfigurationArgs.builder()
            .axisBinding(axisBinding?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .dynamicConfiguration(
                dynamicConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .seriesType(seriesType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .staticConfiguration(
                staticConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AnalysisReferenceLineDataConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisReferenceLineDataConfigurationArgsBuilder internal constructor() {
    private var axisBinding: Output? = null

    private var dynamicConfiguration: Output? =
        null

    private var seriesType: Output? = null

    private var staticConfiguration: Output? = null

    /**
     * @param value The axis binding type of the reference line. Choose one of the following options:
     * - `PrimaryY`
     * - `SecondaryY`
     */
    @JvmName("xadklcmnewobvkhm")
    public suspend fun axisBinding(`value`: Output) {
        this.axisBinding = value
    }

    /**
     * @param value The dynamic configuration of the reference line data configuration.
     */
    @JvmName("vklbcbnnsaobcowk")
    public suspend fun dynamicConfiguration(`value`: Output) {
        this.dynamicConfiguration = value
    }

    /**
     * @param value The series type of the reference line data configuration. Choose one of the following options:
     * - `BAR`
     * - `LINE`
     */
    @JvmName("wjfwwkjltqrushhp")
    public suspend fun seriesType(`value`: Output) {
        this.seriesType = value
    }

    /**
     * @param value The static data configuration of the reference line data configuration.
     */
    @JvmName("wvgdodclrvuenwfl")
    public suspend fun staticConfiguration(`value`: Output) {
        this.staticConfiguration = value
    }

    /**
     * @param value The axis binding type of the reference line. Choose one of the following options:
     * - `PrimaryY`
     * - `SecondaryY`
     */
    @JvmName("yshhiiswqvsukesa")
    public suspend fun axisBinding(`value`: AnalysisAxisBinding?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.axisBinding = mapped
    }

    /**
     * @param value The dynamic configuration of the reference line data configuration.
     */
    @JvmName("oupuskmdljxxlnci")
    public suspend fun dynamicConfiguration(`value`: AnalysisReferenceLineDynamicDataConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dynamicConfiguration = mapped
    }

    /**
     * @param argument The dynamic configuration of the reference line data configuration.
     */
    @JvmName("venwpwwodwoxkwlq")
    public suspend fun dynamicConfiguration(argument: suspend AnalysisReferenceLineDynamicDataConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisReferenceLineDynamicDataConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.dynamicConfiguration = mapped
    }

    /**
     * @param value The series type of the reference line data configuration. Choose one of the following options:
     * - `BAR`
     * - `LINE`
     */
    @JvmName("jqduxkaxbhifbeyh")
    public suspend fun seriesType(`value`: AnalysisReferenceLineSeriesType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.seriesType = mapped
    }

    /**
     * @param value The static data configuration of the reference line data configuration.
     */
    @JvmName("kbeohlamkamtwyly")
    public suspend fun staticConfiguration(`value`: AnalysisReferenceLineStaticDataConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.staticConfiguration = mapped
    }

    /**
     * @param argument The static data configuration of the reference line data configuration.
     */
    @JvmName("frclfkaebbsunhce")
    public suspend fun staticConfiguration(argument: suspend AnalysisReferenceLineStaticDataConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisReferenceLineStaticDataConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.staticConfiguration = mapped
    }

    internal fun build(): AnalysisReferenceLineDataConfigurationArgs =
        AnalysisReferenceLineDataConfigurationArgs(
            axisBinding = axisBinding,
            dynamicConfiguration = dynamicConfiguration,
            seriesType = seriesType,
            staticConfiguration = staticConfiguration,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy