com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionConfigVariable.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.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @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 ConnectionConfigVariable(
public val booleanValue: Boolean? = null,
public val encryptionKeyValue: ConnectionConfigVariableEncryptionKeyValue? = null,
public val integerValue: Int? = null,
public val key: String,
public val secretValue: ConnectionConfigVariableSecretValue? = null,
public val stringValue: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.integrationconnectors.outputs.ConnectionConfigVariable): ConnectionConfigVariable = ConnectionConfigVariable(
booleanValue = javaType.booleanValue().map({ args0 -> args0 }).orElse(null),
encryptionKeyValue = javaType.encryptionKeyValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionConfigVariableEncryptionKeyValue.Companion.toKotlin(args0)
})
}).orElse(null),
integerValue = javaType.integerValue().map({ args0 -> args0 }).orElse(null),
key = javaType.key(),
secretValue = javaType.secretValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionConfigVariableSecretValue.Companion.toKotlin(args0)
})
}).orElse(null),
stringValue = javaType.stringValue().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy