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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardDataBarsOptionsArgs.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.DashboardDataBarsOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property fieldId The field ID for the data bars options.
 * @property negativeColor The color of the negative data bar.
 * @property positiveColor The color of the positive data bar.
 */
public data class DashboardDataBarsOptionsArgs(
    public val fieldId: Output,
    public val negativeColor: Output? = null,
    public val positiveColor: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardDataBarsOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardDataBarsOptionsArgs.builder()
            .fieldId(fieldId.applyValue({ args0 -> args0 }))
            .negativeColor(negativeColor?.applyValue({ args0 -> args0 }))
            .positiveColor(positiveColor?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DashboardDataBarsOptionsArgs].
 */
@PulumiTagMarker
public class DashboardDataBarsOptionsArgsBuilder internal constructor() {
    private var fieldId: Output? = null

    private var negativeColor: Output? = null

    private var positiveColor: Output? = null

    /**
     * @param value The field ID for the data bars options.
     */
    @JvmName("lxqsqmpjljkcieeg")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The color of the negative data bar.
     */
    @JvmName("tcisivgaslmyaedf")
    public suspend fun negativeColor(`value`: Output) {
        this.negativeColor = value
    }

    /**
     * @param value The color of the positive data bar.
     */
    @JvmName("xhwevmymytdjiiwh")
    public suspend fun positiveColor(`value`: Output) {
        this.positiveColor = value
    }

    /**
     * @param value The field ID for the data bars options.
     */
    @JvmName("cdknxjqdovkjikcc")
    public suspend fun fieldId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldId = mapped
    }

    /**
     * @param value The color of the negative data bar.
     */
    @JvmName("mevkpfoaukbyeqmu")
    public suspend fun negativeColor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.negativeColor = mapped
    }

    /**
     * @param value The color of the positive data bar.
     */
    @JvmName("kqjirsbasbbactfe")
    public suspend fun positiveColor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.positiveColor = mapped
    }

    internal fun build(): DashboardDataBarsOptionsArgs = DashboardDataBarsOptionsArgs(
        fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
        negativeColor = negativeColor,
        positiveColor = positiveColor,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy