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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardConditionalFormattingIconSetArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardConditionalFormattingIconSetType
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 expression The expression that determines the formatting configuration for the icon set.
 * @property iconSetType Determines the icon set type.
 */
public data class DashboardConditionalFormattingIconSetArgs(
    public val expression: Output,
    public val iconSetType: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardConditionalFormattingIconSetArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardConditionalFormattingIconSetArgs.builder()
            .expression(expression.applyValue({ args0 -> args0 }))
            .iconSetType(iconSetType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardConditionalFormattingIconSetArgs].
 */
@PulumiTagMarker
public class DashboardConditionalFormattingIconSetArgsBuilder internal constructor() {
    private var expression: Output? = null

    private var iconSetType: Output? = null

    /**
     * @param value The expression that determines the formatting configuration for the icon set.
     */
    @JvmName("mxbygnfdlnmbrnme")
    public suspend fun expression(`value`: Output) {
        this.expression = value
    }

    /**
     * @param value Determines the icon set type.
     */
    @JvmName("kvhhxkjvolbtpfsx")
    public suspend fun iconSetType(`value`: Output) {
        this.iconSetType = value
    }

    /**
     * @param value The expression that determines the formatting configuration for the icon set.
     */
    @JvmName("fqqudvqrifeewyyn")
    public suspend fun expression(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.expression = mapped
    }

    /**
     * @param value Determines the icon set type.
     */
    @JvmName("educhqhuumdwvaac")
    public suspend fun iconSetType(`value`: DashboardConditionalFormattingIconSetType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iconSetType = mapped
    }

    internal fun build(): DashboardConditionalFormattingIconSetArgs =
        DashboardConditionalFormattingIconSetArgs(
            expression = expression ?: throw PulumiNullFieldException("expression"),
            iconSetType = iconSetType,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy