
com.pulumi.azurenative.datafactory.kotlin.inputs.EnvironmentVariableSetupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.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.datafactory.inputs.EnvironmentVariableSetupArgs =
com.pulumi.azurenative.datafactory.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("ydqexbltunawwyma")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The name of the environment variable.
*/
@JvmName("nxytriogtvcchhsb")
public suspend fun variableName(`value`: Output) {
this.variableName = value
}
/**
* @param value The value of the environment variable.
*/
@JvmName("skdcxcuueoorgehw")
public suspend fun variableValue(`value`: Output) {
this.variableValue = value
}
/**
* @param value The type of custom setup.
* Expected value is 'EnvironmentVariableSetup'.
*/
@JvmName("hpyxtpcbjuptucrn")
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("unpytpljalytdsrl")
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("komwhkipvumvrctm")
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