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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateReferenceLineDataConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateAxisBinding
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateReferenceLineSeriesType
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 TemplateReferenceLineDataConfigurationArgs(
    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.TemplateReferenceLineDataConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateReferenceLineDataConfigurationArgs.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 [TemplateReferenceLineDataConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateReferenceLineDataConfigurationArgsBuilder 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("fnhasmdhwparqaxf")
    public suspend fun axisBinding(`value`: Output) {
        this.axisBinding = value
    }

    /**
     * @param value The dynamic configuration of the reference line data configuration.
     */
    @JvmName("dmfpqsbaqdjcxnsh")
    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("bujddqbbexngkook")
    public suspend fun seriesType(`value`: Output) {
        this.seriesType = value
    }

    /**
     * @param value The static data configuration of the reference line data configuration.
     */
    @JvmName("ohssjiuosmfwpvme")
    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("cpahurvlnkibislq")
    public suspend fun axisBinding(`value`: TemplateAxisBinding?) {
        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("rpukiwrqvtcxslat")
    public suspend fun dynamicConfiguration(`value`: TemplateReferenceLineDynamicDataConfigurationArgs?) {
        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("vbpmhfgtimhqualc")
    public suspend fun dynamicConfiguration(argument: suspend TemplateReferenceLineDynamicDataConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateReferenceLineDynamicDataConfigurationArgsBuilder().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("vxgovmdqyifunyfe")
    public suspend fun seriesType(`value`: TemplateReferenceLineSeriesType?) {
        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("qxdvrloligvlljyl")
    public suspend fun staticConfiguration(`value`: TemplateReferenceLineStaticDataConfigurationArgs?) {
        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("wehgxrllwcwqpkhl")
    public suspend fun staticConfiguration(argument: suspend TemplateReferenceLineStaticDataConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateReferenceLineStaticDataConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.staticConfiguration = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy