
com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionEventingConfigAdditionalVariableArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.integrationconnectors.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigAdditionalVariableArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property booleanValue Boolean Value of configVariable.
* @property encryptionKeyValue Encription key value of configVariable.
* Structure is documented below.
* @property integerValue Integer Value of configVariable.
* @property key Key for the configVariable
* @property secretValue Secret value of configVariable
* Structure is documented below.
* @property stringValue String Value of configVariabley.
*/
public data class ConnectionEventingConfigAdditionalVariableArgs(
public val booleanValue: Output? = null,
public val encryptionKeyValue: Output? = null,
public val integerValue: Output? = null,
public val key: Output,
public val secretValue: Output? = null,
public val stringValue: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigAdditionalVariableArgs =
com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigAdditionalVariableArgs.builder()
.booleanValue(booleanValue?.applyValue({ args0 -> args0 }))
.encryptionKeyValue(
encryptionKeyValue?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.integerValue(integerValue?.applyValue({ args0 -> args0 }))
.key(key.applyValue({ args0 -> args0 }))
.secretValue(secretValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.stringValue(stringValue?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionEventingConfigAdditionalVariableArgs].
*/
@PulumiTagMarker
public class ConnectionEventingConfigAdditionalVariableArgsBuilder internal constructor() {
private var booleanValue: Output? = null
private var encryptionKeyValue:
Output? = null
private var integerValue: Output? = null
private var key: Output? = null
private var secretValue: Output? = null
private var stringValue: Output? = null
/**
* @param value Boolean Value of configVariable.
*/
@JvmName("vkysrsxrdeyikkxj")
public suspend fun booleanValue(`value`: Output) {
this.booleanValue = value
}
/**
* @param value Encription key value of configVariable.
* Structure is documented below.
*/
@JvmName("jlricscqliecwdya")
public suspend fun encryptionKeyValue(`value`: Output) {
this.encryptionKeyValue = value
}
/**
* @param value Integer Value of configVariable.
*/
@JvmName("csmuxngxoqdbetgj")
public suspend fun integerValue(`value`: Output) {
this.integerValue = value
}
/**
* @param value Key for the configVariable
*/
@JvmName("tdkytaduhfpjpjue")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Secret value of configVariable
* Structure is documented below.
*/
@JvmName("lpsmveaxkdcwpsut")
public suspend fun secretValue(`value`: Output) {
this.secretValue = value
}
/**
* @param value String Value of configVariabley.
*/
@JvmName("alhsvbcvdylsduhp")
public suspend fun stringValue(`value`: Output) {
this.stringValue = value
}
/**
* @param value Boolean Value of configVariable.
*/
@JvmName("bxeruugxdsbmfhjm")
public suspend fun booleanValue(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.booleanValue = mapped
}
/**
* @param value Encription key value of configVariable.
* Structure is documented below.
*/
@JvmName("vxuhrstpaokghcbc")
public suspend fun encryptionKeyValue(`value`: ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptionKeyValue = mapped
}
/**
* @param argument Encription key value of configVariable.
* Structure is documented below.
*/
@JvmName("oektbmykxqnhfbfr")
public suspend fun encryptionKeyValue(argument: suspend ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgsBuilder.() -> Unit) {
val toBeMapped =
ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.encryptionKeyValue = mapped
}
/**
* @param value Integer Value of configVariable.
*/
@JvmName("nufhcfqhqflyjppb")
public suspend fun integerValue(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.integerValue = mapped
}
/**
* @param value Key for the configVariable
*/
@JvmName("dhyowojmpaxpihmk")
public suspend fun key(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value Secret value of configVariable
* Structure is documented below.
*/
@JvmName("rvhihjitsbqukigb")
public suspend fun secretValue(`value`: ConnectionEventingConfigAdditionalVariableSecretValueArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretValue = mapped
}
/**
* @param argument Secret value of configVariable
* Structure is documented below.
*/
@JvmName("hvgtojycmuvfodyk")
public suspend fun secretValue(argument: suspend ConnectionEventingConfigAdditionalVariableSecretValueArgsBuilder.() -> Unit) {
val toBeMapped =
ConnectionEventingConfigAdditionalVariableSecretValueArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.secretValue = mapped
}
/**
* @param value String Value of configVariabley.
*/
@JvmName("asgyyjsijufffsot")
public suspend fun stringValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.stringValue = mapped
}
internal fun build(): ConnectionEventingConfigAdditionalVariableArgs =
ConnectionEventingConfigAdditionalVariableArgs(
booleanValue = booleanValue,
encryptionKeyValue = encryptionKeyValue,
integerValue = integerValue,
key = key ?: throw PulumiNullFieldException("key"),
secretValue = secretValue,
stringValue = stringValue,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy