com.pulumi.gcp.dataproc.kotlin.inputs.MetastoreServiceEncryptionConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.MetastoreServiceEncryptionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property kmsKey The fully qualified customer provided Cloud KMS key name to use for customer data encryption.
* Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`
*/
public data class MetastoreServiceEncryptionConfigArgs(
public val kmsKey: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.MetastoreServiceEncryptionConfigArgs =
com.pulumi.gcp.dataproc.inputs.MetastoreServiceEncryptionConfigArgs.builder()
.kmsKey(kmsKey.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MetastoreServiceEncryptionConfigArgs].
*/
@PulumiTagMarker
public class MetastoreServiceEncryptionConfigArgsBuilder internal constructor() {
private var kmsKey: Output? = null
/**
* @param value The fully qualified customer provided Cloud KMS key name to use for customer data encryption.
* Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`
*/
@JvmName("lnbkfjkkphtnogql")
public suspend fun kmsKey(`value`: Output) {
this.kmsKey = value
}
/**
* @param value The fully qualified customer provided Cloud KMS key name to use for customer data encryption.
* Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`
*/
@JvmName("sgbklckmhlpefarw")
public suspend fun kmsKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kmsKey = mapped
}
internal fun build(): MetastoreServiceEncryptionConfigArgs = MetastoreServiceEncryptionConfigArgs(
kmsKey = kmsKey ?: throw PulumiNullFieldException("kmsKey"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy