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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardMissingDataConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardMissingDataTreatmentOption
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property treatmentOption The treatment option that determines how missing data should be rendered. Choose from the following options:
 * - `INTERPOLATE` : Interpolate missing values between the prior and the next known value.
 * - `SHOW_AS_ZERO` : Show missing values as the value `0` .
 * - `SHOW_AS_BLANK` : Display a blank space when rendering missing data.
 */
public data class DashboardMissingDataConfigurationArgs(
    public val treatmentOption: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardMissingDataConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardMissingDataConfigurationArgs.builder()
            .treatmentOption(
                treatmentOption?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardMissingDataConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardMissingDataConfigurationArgsBuilder internal constructor() {
    private var treatmentOption: Output? = null

    /**
     * @param value The treatment option that determines how missing data should be rendered. Choose from the following options:
     * - `INTERPOLATE` : Interpolate missing values between the prior and the next known value.
     * - `SHOW_AS_ZERO` : Show missing values as the value `0` .
     * - `SHOW_AS_BLANK` : Display a blank space when rendering missing data.
     */
    @JvmName("jhevbvtcjehxomho")
    public suspend fun treatmentOption(`value`: Output) {
        this.treatmentOption = value
    }

    /**
     * @param value The treatment option that determines how missing data should be rendered. Choose from the following options:
     * - `INTERPOLATE` : Interpolate missing values between the prior and the next known value.
     * - `SHOW_AS_ZERO` : Show missing values as the value `0` .
     * - `SHOW_AS_BLANK` : Display a blank space when rendering missing data.
     */
    @JvmName("owgbokhoindovtta")
    public suspend fun treatmentOption(`value`: DashboardMissingDataTreatmentOption?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.treatmentOption = mapped
    }

    internal fun build(): DashboardMissingDataConfigurationArgs =
        DashboardMissingDataConfigurationArgs(
            treatmentOption = treatmentOption,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy