com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisConditionalFormattingIconSetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisConditionalFormattingIconSetArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisConditionalFormattingIconSetType
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 AnalysisConditionalFormattingIconSetArgs(
public val expression: Output,
public val iconSetType: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisConditionalFormattingIconSetArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisConditionalFormattingIconSetArgs.builder()
.expression(expression.applyValue({ args0 -> args0 }))
.iconSetType(iconSetType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisConditionalFormattingIconSetArgs].
*/
@PulumiTagMarker
public class AnalysisConditionalFormattingIconSetArgsBuilder 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("bjpyjmrtfvndkjcd")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value Determines the icon set type.
*/
@JvmName("ysvghegbaeijxkyy")
public suspend fun iconSetType(`value`: Output) {
this.iconSetType = value
}
/**
* @param value The expression that determines the formatting configuration for the icon set.
*/
@JvmName("xjovmdoefdvmpbtc")
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("danqkiffoooqcpro")
public suspend fun iconSetType(`value`: AnalysisConditionalFormattingIconSetType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iconSetType = mapped
}
internal fun build(): AnalysisConditionalFormattingIconSetArgs =
AnalysisConditionalFormattingIconSetArgs(
expression = expression ?: throw PulumiNullFieldException("expression"),
iconSetType = iconSetType,
)
}