
com.pulumi.awsnative.kafkaconnect.kotlin.inputs.ConnectorKafkaClusterEncryptionInTransitArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.kafkaconnect.kotlin.inputs
import com.pulumi.awsnative.kafkaconnect.inputs.ConnectorKafkaClusterEncryptionInTransitArgs.builder
import com.pulumi.awsnative.kafkaconnect.kotlin.enums.ConnectorKafkaClusterEncryptionInTransitType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Details of encryption in transit to the Kafka cluster.
* @property encryptionType The type of encryption in transit to the Apache Kafka cluster.
*/
public data class ConnectorKafkaClusterEncryptionInTransitArgs(
public val encryptionType: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kafkaconnect.inputs.ConnectorKafkaClusterEncryptionInTransitArgs =
com.pulumi.awsnative.kafkaconnect.inputs.ConnectorKafkaClusterEncryptionInTransitArgs.builder()
.encryptionType(
encryptionType.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).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.
*/
@JvmName("bgimlvxvurwwnykx")
public suspend fun encryptionType(`value`: Output) {
this.encryptionType = value
}
/**
* @param value The type of encryption in transit to the Apache Kafka cluster.
*/
@JvmName("tjfoccqivndwrydl")
public suspend fun encryptionType(`value`: ConnectorKafkaClusterEncryptionInTransitType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.encryptionType = mapped
}
internal fun build(): ConnectorKafkaClusterEncryptionInTransitArgs =
ConnectorKafkaClusterEncryptionInTransitArgs(
encryptionType = encryptionType ?: throw PulumiNullFieldException("encryptionType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy