com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardCalculatedFieldArgs.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.DashboardCalculatedFieldArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property dataSetIdentifier The data set that is used in this calculated field.
* @property expression The expression of the calculated field.
* @property name The name of the calculated field.
*/
public data class DashboardCalculatedFieldArgs(
public val dataSetIdentifier: Output,
public val expression: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardCalculatedFieldArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardCalculatedFieldArgs.builder()
.dataSetIdentifier(dataSetIdentifier.applyValue({ args0 -> args0 }))
.expression(expression.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DashboardCalculatedFieldArgs].
*/
@PulumiTagMarker
public class DashboardCalculatedFieldArgsBuilder internal constructor() {
private var dataSetIdentifier: Output? = null
private var expression: Output? = null
private var name: Output? = null
/**
* @param value The data set that is used in this calculated field.
*/
@JvmName("jigvtxfstlynjaty")
public suspend fun dataSetIdentifier(`value`: Output) {
this.dataSetIdentifier = value
}
/**
* @param value The expression of the calculated field.
*/
@JvmName("lxhidbxyyxhpixgq")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value The name of the calculated field.
*/
@JvmName("emrewiioohlbgwbs")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The data set that is used in this calculated field.
*/
@JvmName("pfphthsgghiiihii")
public suspend fun dataSetIdentifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataSetIdentifier = mapped
}
/**
* @param value The expression of the calculated field.
*/
@JvmName("vvucjckchdhaomrm")
public suspend fun expression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.expression = mapped
}
/**
* @param value The name of the calculated field.
*/
@JvmName("sxyinkqcvfaomvns")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): DashboardCalculatedFieldArgs = DashboardCalculatedFieldArgs(
dataSetIdentifier = dataSetIdentifier ?: throw PulumiNullFieldException("dataSetIdentifier"),
expression = expression ?: throw PulumiNullFieldException("expression"),
name = name ?: throw PulumiNullFieldException("name"),
)
}