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

com.pulumi.aws.mskconnect.kotlin.inputs.ConnectorKafkaClusterEncryptionInTransitArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.mskconnect.kotlin.inputs

import com.pulumi.aws.mskconnect.inputs.ConnectorKafkaClusterEncryptionInTransitArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property encryptionType The type of encryption in transit to the Apache Kafka cluster. Valid values: `PLAINTEXT`, `TLS`. The default values is `PLAINTEXT`.
 */
public data class ConnectorKafkaClusterEncryptionInTransitArgs(
    public val encryptionType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.mskconnect.inputs.ConnectorKafkaClusterEncryptionInTransitArgs =
        com.pulumi.aws.mskconnect.inputs.ConnectorKafkaClusterEncryptionInTransitArgs.builder()
            .encryptionType(encryptionType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConnectorKafkaClusterEncryptionInTransitArgs].
 */
@PulumiTagMarker
public class ConnectorKafkaClusterEncryptionInTransitArgsBuilder internal constructor() {
    private var encryptionType: Output? = null

    /**
     * @param value The type of encryption in transit to the Apache Kafka cluster. Valid values: `PLAINTEXT`, `TLS`. The default values is `PLAINTEXT`.
     */
    @JvmName("vrebykwntxfkafvx")
    public suspend fun encryptionType(`value`: Output) {
        this.encryptionType = value
    }

    /**
     * @param value The type of encryption in transit to the Apache Kafka cluster. Valid values: `PLAINTEXT`, `TLS`. The default values is `PLAINTEXT`.
     */
    @JvmName("bvcidnsqdabufyve")
    public suspend fun encryptionType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptionType = mapped
    }

    internal fun build(): ConnectorKafkaClusterEncryptionInTransitArgs =
        ConnectorKafkaClusterEncryptionInTransitArgs(
            encryptionType = encryptionType,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy