
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateConditionalFormattingIconArgs.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.TemplateConditionalFormattingIconArgs.builder
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 customCondition Determines the custom condition for an icon set.
* @property iconSet Formatting configuration for icon set.
*/
public data class TemplateConditionalFormattingIconArgs(
public val customCondition: Output? = null,
public val iconSet: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateConditionalFormattingIconArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateConditionalFormattingIconArgs.builder()
.customCondition(customCondition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.iconSet(iconSet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateConditionalFormattingIconArgs].
*/
@PulumiTagMarker
public class TemplateConditionalFormattingIconArgsBuilder internal constructor() {
private var customCondition: Output? = null
private var iconSet: Output? = null
/**
* @param value Determines the custom condition for an icon set.
*/
@JvmName("shrokgieaihleqxq")
public suspend fun customCondition(`value`: Output) {
this.customCondition = value
}
/**
* @param value Formatting configuration for icon set.
*/
@JvmName("folxvpxfvsdbqxqp")
public suspend fun iconSet(`value`: Output) {
this.iconSet = value
}
/**
* @param value Determines the custom condition for an icon set.
*/
@JvmName("qtrpxyscffacbswt")
public suspend fun customCondition(`value`: TemplateConditionalFormattingCustomIconConditionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customCondition = mapped
}
/**
* @param argument Determines the custom condition for an icon set.
*/
@JvmName("jqxryugqruicnrkp")
public suspend fun customCondition(argument: suspend TemplateConditionalFormattingCustomIconConditionArgsBuilder.() -> Unit) {
val toBeMapped = TemplateConditionalFormattingCustomIconConditionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.customCondition = mapped
}
/**
* @param value Formatting configuration for icon set.
*/
@JvmName("xviplqvhlaxhnwfg")
public suspend fun iconSet(`value`: TemplateConditionalFormattingIconSetArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iconSet = mapped
}
/**
* @param argument Formatting configuration for icon set.
*/
@JvmName("neeodwfcfhkhrcsr")
public suspend fun iconSet(argument: suspend TemplateConditionalFormattingIconSetArgsBuilder.() -> Unit) {
val toBeMapped = TemplateConditionalFormattingIconSetArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.iconSet = mapped
}
internal fun build(): TemplateConditionalFormattingIconArgs =
TemplateConditionalFormattingIconArgs(
customCondition = customCondition,
iconSet = iconSet,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy