com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSheetElementRenderingRuleArgs.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.AnalysisSheetElementRenderingRuleArgs.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 AnalysisSheetElementRenderingRuleArgs(
public val configurationOverrides: Output,
public val expression: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSheetElementRenderingRuleArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisSheetElementRenderingRuleArgs.builder()
.configurationOverrides(
configurationOverrides.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.expression(expression.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisSheetElementRenderingRuleArgs].
*/
@PulumiTagMarker
public class AnalysisSheetElementRenderingRuleArgsBuilder 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("egxxiddbckrgqphf")
public suspend fun configurationOverrides(`value`: Output) {
this.configurationOverrides = value
}
/**
* @param value The expression of the rendering rules of a sheet.
*/
@JvmName("xsqffrmrkgkmaxcd")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value The override configuration of the rendering rules of a sheet.
*/
@JvmName("bsgjhtsljixsmjqm")
public suspend fun configurationOverrides(`value`: AnalysisSheetElementConfigurationOverridesArgs) {
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("xyiignitgufaijkb")
public suspend fun configurationOverrides(argument: suspend AnalysisSheetElementConfigurationOverridesArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisSheetElementConfigurationOverridesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.configurationOverrides = mapped
}
/**
* @param value The expression of the rendering rules of a sheet.
*/
@JvmName("xfmdbvcecqhjqqex")
public suspend fun expression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.expression = mapped
}
internal fun build(): AnalysisSheetElementRenderingRuleArgs =
AnalysisSheetElementRenderingRuleArgs(
configurationOverrides = configurationOverrides ?: throw
PulumiNullFieldException("configurationOverrides"),
expression = expression ?: throw PulumiNullFieldException("expression"),
)
}