
com.pulumi.googlenative.dataproc.v1.kotlin.inputs.EncryptionConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataproc.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dataproc.v1.inputs.EncryptionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Encryption settings for the cluster.
* @property gcePdKmsKeyName Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.
* @property kmsKey Optional. The Cloud KMS key name to use for encrypting customer core content and cluster PD disk for all instances in the cluster.
*/
public data class EncryptionConfigArgs(
public val gcePdKmsKeyName: Output? = null,
public val kmsKey: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataproc.v1.inputs.EncryptionConfigArgs =
com.pulumi.googlenative.dataproc.v1.inputs.EncryptionConfigArgs.builder()
.gcePdKmsKeyName(gcePdKmsKeyName?.applyValue({ args0 -> args0 }))
.kmsKey(kmsKey?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EncryptionConfigArgs].
*/
@PulumiTagMarker
public class EncryptionConfigArgsBuilder internal constructor() {
private var gcePdKmsKeyName: Output? = null
private var kmsKey: Output? = null
/**
* @param value Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.
*/
@JvmName("gmdcrffkpxvvftot")
public suspend fun gcePdKmsKeyName(`value`: Output) {
this.gcePdKmsKeyName = value
}
/**
* @param value Optional. The Cloud KMS key name to use for encrypting customer core content and cluster PD disk for all instances in the cluster.
*/
@JvmName("pytxjqrurechbpji")
public suspend fun kmsKey(`value`: Output) {
this.kmsKey = value
}
/**
* @param value Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.
*/
@JvmName("fcqtrtiijbptqqqg")
public suspend fun gcePdKmsKeyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gcePdKmsKeyName = mapped
}
/**
* @param value Optional. The Cloud KMS key name to use for encrypting customer core content and cluster PD disk for all instances in the cluster.
*/
@JvmName("btdmraubhqenqufk")
public suspend fun kmsKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKey = mapped
}
internal fun build(): EncryptionConfigArgs = EncryptionConfigArgs(
gcePdKmsKeyName = gcePdKmsKeyName,
kmsKey = kmsKey,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy