
com.pulumi.awsnative.lightsail.kotlin.inputs.ContainerEnvironmentVariableArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lightsail.kotlin.inputs
import com.pulumi.awsnative.lightsail.inputs.ContainerEnvironmentVariableArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property value The environment variable value.
* @property variable The environment variable key.
*/
public data class ContainerEnvironmentVariableArgs(
public val `value`: Output? = null,
public val variable: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lightsail.inputs.ContainerEnvironmentVariableArgs =
com.pulumi.awsnative.lightsail.inputs.ContainerEnvironmentVariableArgs.builder()
.`value`(`value`?.applyValue({ args0 -> args0 }))
.variable(variable?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContainerEnvironmentVariableArgs].
*/
@PulumiTagMarker
public class ContainerEnvironmentVariableArgsBuilder internal constructor() {
private var `value`: Output? = null
private var variable: Output? = null
/**
* @param value The environment variable value.
*/
@JvmName("nhcifngpsjunagmg")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The environment variable key.
*/
@JvmName("ogpaqujrugjusugj")
public suspend fun variable(`value`: Output) {
this.variable = value
}
/**
* @param value The environment variable value.
*/
@JvmName("cjxsgsimsyttjokh")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
/**
* @param value The environment variable key.
*/
@JvmName("xibwhqmmdhahphsg")
public suspend fun variable(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.variable = mapped
}
internal fun build(): ContainerEnvironmentVariableArgs = ContainerEnvironmentVariableArgs(
`value` = `value`,
variable = variable,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy