![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.ExpressionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.ExpressionArgs.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
/**
* Azure Data Factory expression definition.
* @property type Expression type.
* @property value Expression value.
*/
public data class ExpressionArgs(
public val type: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.ExpressionArgs =
com.pulumi.azurenative.datafactory.inputs.ExpressionArgs.builder()
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExpressionArgs].
*/
@PulumiTagMarker
public class ExpressionArgsBuilder internal constructor() {
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value Expression type.
*/
@JvmName("gctkygeobbwyhbcl")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Expression value.
*/
@JvmName("wlatmspptcguqfpm")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Expression type.
*/
@JvmName("grncftytdwkpjsqf")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Expression value.
*/
@JvmName("fbqiqfvbxoatmmhm")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ExpressionArgs = ExpressionArgs(
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy