All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionSslConfigAdditionalVariable.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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 ConnectionSslConfigAdditionalVariable(
    public val booleanValue: Boolean? = null,
    public val encryptionKeyValue: ConnectionSslConfigAdditionalVariableEncryptionKeyValue? = null,
    public val integerValue: Int? = null,
    public val key: String,
    public val secretValue: ConnectionSslConfigAdditionalVariableSecretValue? = null,
    public val stringValue: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.integrationconnectors.outputs.ConnectionSslConfigAdditionalVariable): ConnectionSslConfigAdditionalVariable = ConnectionSslConfigAdditionalVariable(
            booleanValue = javaType.booleanValue().map({ args0 -> args0 }).orElse(null),
            encryptionKeyValue = javaType.encryptionKeyValue().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionSslConfigAdditionalVariableEncryptionKeyValue.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.ConnectionSslConfigAdditionalVariableSecretValue.Companion.toKotlin(args0)
                })
            }).orElse(null),
            stringValue = javaType.stringValue().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy