![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.containerregistry.kotlin.inputs.SetValueArgs.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.containerregistry.kotlin.inputs
import com.pulumi.azurenative.containerregistry.inputs.SetValueArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The properties of a overridable value that can be passed to a task template.
* @property isSecret Flag to indicate whether the value represents a secret or not.
* @property name The name of the overridable value.
* @property value The overridable value.
*/
public data class SetValueArgs(
public val isSecret: Output? = null,
public val name: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerregistry.inputs.SetValueArgs =
com.pulumi.azurenative.containerregistry.inputs.SetValueArgs.builder()
.isSecret(isSecret?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SetValueArgs].
*/
@PulumiTagMarker
public class SetValueArgsBuilder internal constructor() {
private var isSecret: Output? = null
private var name: Output? = null
private var `value`: Output? = null
/**
* @param value Flag to indicate whether the value represents a secret or not.
*/
@JvmName("owifxlosabsgupms")
public suspend fun isSecret(`value`: Output) {
this.isSecret = value
}
/**
* @param value The name of the overridable value.
*/
@JvmName("iqonkfdpctfratad")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The overridable value.
*/
@JvmName("xlyjcynjoxrqrqpj")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Flag to indicate whether the value represents a secret or not.
*/
@JvmName("wvkyikxyddywdutx")
public suspend fun isSecret(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isSecret = mapped
}
/**
* @param value The name of the overridable value.
*/
@JvmName("hertmjnxwytjrxhc")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The overridable value.
*/
@JvmName("slmjrmmtamouxvvc")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): SetValueArgs = SetValueArgs(
isSecret = isSecret,
name = name ?: throw PulumiNullFieldException("name"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy