![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.servicelinker.kotlin.inputs.ValueSecretInfoArgs.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.servicelinker.kotlin.inputs
import com.pulumi.azurenative.servicelinker.inputs.ValueSecretInfoArgs.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 secret info when type is rawValue. It's for scenarios that user input the secret.
* @property secretType The secret type.
* Expected value is 'rawValue'.
* @property value The actual value of the secret.
*/
public data class ValueSecretInfoArgs(
public val secretType: Output,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.servicelinker.inputs.ValueSecretInfoArgs =
com.pulumi.azurenative.servicelinker.inputs.ValueSecretInfoArgs.builder()
.secretType(secretType.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ValueSecretInfoArgs].
*/
@PulumiTagMarker
public class ValueSecretInfoArgsBuilder internal constructor() {
private var secretType: Output? = null
private var `value`: Output? = null
/**
* @param value The secret type.
* Expected value is 'rawValue'.
*/
@JvmName("csjplybnwkufhats")
public suspend fun secretType(`value`: Output) {
this.secretType = value
}
/**
* @param value The actual value of the secret.
*/
@JvmName("ntcuyscvoqgnvjsv")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The secret type.
* Expected value is 'rawValue'.
*/
@JvmName("talgioqcdlrtnkwr")
public suspend fun secretType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretType = mapped
}
/**
* @param value The actual value of the secret.
*/
@JvmName("sadpswevwjuhaghc")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ValueSecretInfoArgs = ValueSecretInfoArgs(
secretType = secretType ?: throw PulumiNullFieldException("secretType"),
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy