![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.synapse.kotlin.inputs.EnvironmentVariableSetupArgs.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.synapse.kotlin.inputs
import com.pulumi.azurenative.synapse.inputs.EnvironmentVariableSetupArgs.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
/**
* The custom setup of setting environment variable.
* @property type The type of custom setup.
* Expected value is 'EnvironmentVariableSetup'.
* @property variableName The name of the environment variable.
* @property variableValue The value of the environment variable.
*/
public data class EnvironmentVariableSetupArgs(
public val type: Output,
public val variableName: Output,
public val variableValue: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.synapse.inputs.EnvironmentVariableSetupArgs =
com.pulumi.azurenative.synapse.inputs.EnvironmentVariableSetupArgs.builder()
.type(type.applyValue({ args0 -> args0 }))
.variableName(variableName.applyValue({ args0 -> args0 }))
.variableValue(variableValue.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvironmentVariableSetupArgs].
*/
@PulumiTagMarker
public class EnvironmentVariableSetupArgsBuilder internal constructor() {
private var type: Output? = null
private var variableName: Output? = null
private var variableValue: Output? = null
/**
* @param value The type of custom setup.
* Expected value is 'EnvironmentVariableSetup'.
*/
@JvmName("snlbqtwdbbhfgabf")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The name of the environment variable.
*/
@JvmName("twkpubsvdximvghl")
public suspend fun variableName(`value`: Output) {
this.variableName = value
}
/**
* @param value The value of the environment variable.
*/
@JvmName("gdgclejmnuywuuuq")
public suspend fun variableValue(`value`: Output) {
this.variableValue = value
}
/**
* @param value The type of custom setup.
* Expected value is 'EnvironmentVariableSetup'.
*/
@JvmName("ottakifsedapkibw")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The name of the environment variable.
*/
@JvmName("fxljffuhblsjkvmx")
public suspend fun variableName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.variableName = mapped
}
/**
* @param value The value of the environment variable.
*/
@JvmName("slrffeavpqglckgy")
public suspend fun variableValue(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.variableValue = mapped
}
internal fun build(): EnvironmentVariableSetupArgs = EnvironmentVariableSetupArgs(
type = type ?: throw PulumiNullFieldException("type"),
variableName = variableName ?: throw PulumiNullFieldException("variableName"),
variableValue = variableValue ?: throw PulumiNullFieldException("variableValue"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy