
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateSheetElementRenderingRuleArgs.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.TemplateSheetElementRenderingRuleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property configurationOverrides The override configuration of the rendering rules of a sheet.
* @property expression The expression of the rendering rules of a sheet.
*/
public data class TemplateSheetElementRenderingRuleArgs(
public val configurationOverrides: Output,
public val expression: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateSheetElementRenderingRuleArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateSheetElementRenderingRuleArgs.builder()
.configurationOverrides(
configurationOverrides.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.expression(expression.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateSheetElementRenderingRuleArgs].
*/
@PulumiTagMarker
public class TemplateSheetElementRenderingRuleArgsBuilder internal constructor() {
private var configurationOverrides: Output? = null
private var expression: Output? = null
/**
* @param value The override configuration of the rendering rules of a sheet.
*/
@JvmName("wpoefagcxjlboqss")
public suspend fun configurationOverrides(`value`: Output) {
this.configurationOverrides = value
}
/**
* @param value The expression of the rendering rules of a sheet.
*/
@JvmName("utpxwbdsvoldpree")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value The override configuration of the rendering rules of a sheet.
*/
@JvmName("rrfmskymfqxnqvxw")
public suspend fun configurationOverrides(`value`: TemplateSheetElementConfigurationOverridesArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.configurationOverrides = mapped
}
/**
* @param argument The override configuration of the rendering rules of a sheet.
*/
@JvmName("tttqcosgmiihiaxg")
public suspend fun configurationOverrides(argument: suspend TemplateSheetElementConfigurationOverridesArgsBuilder.() -> Unit) {
val toBeMapped = TemplateSheetElementConfigurationOverridesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.configurationOverrides = mapped
}
/**
* @param value The expression of the rendering rules of a sheet.
*/
@JvmName("ifmgdwmxaubugdrb")
public suspend fun expression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.expression = mapped
}
internal fun build(): TemplateSheetElementRenderingRuleArgs =
TemplateSheetElementRenderingRuleArgs(
configurationOverrides = configurationOverrides ?: throw
PulumiNullFieldException("configurationOverrides"),
expression = expression ?: throw PulumiNullFieldException("expression"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy