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

com.pulumi.gcp.alloydb.kotlin.inputs.InstanceClientConnectionConfigSslConfigArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.alloydb.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.alloydb.inputs.InstanceClientConnectionConfigSslConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property sslMode SSL mode. Specifies client-server SSL/TLS connection behavior.
 * Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
 */
public data class InstanceClientConnectionConfigSslConfigArgs(
    public val sslMode: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.alloydb.inputs.InstanceClientConnectionConfigSslConfigArgs =
        com.pulumi.gcp.alloydb.inputs.InstanceClientConnectionConfigSslConfigArgs.builder()
            .sslMode(sslMode?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceClientConnectionConfigSslConfigArgs].
 */
@PulumiTagMarker
public class InstanceClientConnectionConfigSslConfigArgsBuilder internal constructor() {
    private var sslMode: Output? = null

    /**
     * @param value SSL mode. Specifies client-server SSL/TLS connection behavior.
     * Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
     */
    @JvmName("dalsmupeahajwhym")
    public suspend fun sslMode(`value`: Output) {
        this.sslMode = value
    }

    /**
     * @param value SSL mode. Specifies client-server SSL/TLS connection behavior.
     * Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
     */
    @JvmName("dydavqukxbinhxob")
    public suspend fun sslMode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sslMode = mapped
    }

    internal fun build(): InstanceClientConnectionConfigSslConfigArgs =
        InstanceClientConnectionConfigSslConfigArgs(
            sslMode = sslMode,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy