
com.pulumi.awsnative.iotsitewise.kotlin.inputs.AssetModelTransformArgs.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.iotsitewise.kotlin.inputs
import com.pulumi.awsnative.iotsitewise.inputs.AssetModelTransformArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property expression The mathematical expression that defines the transformation function. You can specify up to 10 functions per expression.
* @property variables The list of variables used in the expression.
*/
public data class AssetModelTransformArgs(
public val expression: Output,
public val variables: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotsitewise.inputs.AssetModelTransformArgs =
com.pulumi.awsnative.iotsitewise.inputs.AssetModelTransformArgs.builder()
.expression(expression.applyValue({ args0 -> args0 }))
.variables(
variables.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AssetModelTransformArgs].
*/
@PulumiTagMarker
public class AssetModelTransformArgsBuilder internal constructor() {
private var expression: Output? = null
private var variables: Output>? = null
/**
* @param value The mathematical expression that defines the transformation function. You can specify up to 10 functions per expression.
*/
@JvmName("fkxckbjkmcjggcyr")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value The list of variables used in the expression.
*/
@JvmName("jbiloyscmwthkyyj")
public suspend fun variables(`value`: Output>) {
this.variables = value
}
@JvmName("yjbjfpadmkmyppjk")
public suspend fun variables(vararg values: Output) {
this.variables = Output.all(values.asList())
}
/**
* @param values The list of variables used in the expression.
*/
@JvmName("arysntesxogkxsnt")
public suspend fun variables(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy