com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisCalculatedFieldArgs.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.AnalysisCalculatedFieldArgs.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 AnalysisCalculatedFieldArgs(
public val dataSetIdentifier: Output,
public val expression: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisCalculatedFieldArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisCalculatedFieldArgs.builder()
.dataSetIdentifier(dataSetIdentifier.applyValue({ args0 -> args0 }))
.expression(expression.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisCalculatedFieldArgs].
*/
@PulumiTagMarker
public class AnalysisCalculatedFieldArgsBuilder 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("egjyxkqsaentwtap")
public suspend fun dataSetIdentifier(`value`: Output) {
this.dataSetIdentifier = value
}
/**
* @param value The expression of the calculated field.
*/
@JvmName("apclxbvuqjtopmqv")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value The name of the calculated field.
*/
@JvmName("niqsoefdlftkeyrm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The data set that is used in this calculated field.
*/
@JvmName("ngmejttwcxijtvkt")
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("ofmeubvvcnaehtvt")
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("fjqtfopehnlnstee")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): AnalysisCalculatedFieldArgs = AnalysisCalculatedFieldArgs(
dataSetIdentifier = dataSetIdentifier ?: throw PulumiNullFieldException("dataSetIdentifier"),
expression = expression ?: throw PulumiNullFieldException("expression"),
name = name ?: throw PulumiNullFieldException("name"),
)
}