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

com.pulumi.googlenative.datafusion.v1beta1.kotlin.inputs.CryptoKeyConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.datafusion.v1beta1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.datafusion.v1beta1.inputs.CryptoKeyConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
 * @property keyReference The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
 * */*/*/*/
 */
public data class CryptoKeyConfigArgs(
    public val keyReference: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.datafusion.v1beta1.inputs.CryptoKeyConfigArgs =
        com.pulumi.googlenative.datafusion.v1beta1.inputs.CryptoKeyConfigArgs.builder()
            .keyReference(keyReference?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CryptoKeyConfigArgs].
 */
@PulumiTagMarker
public class CryptoKeyConfigArgsBuilder internal constructor() {
    private var keyReference: Output? = null

    /**
     * @param value The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
     * */*/*/*/
     */
    @JvmName("yqisipsjbiqpbamb")
    public suspend fun keyReference(`value`: Output) {
        this.keyReference = value
    }

    /**
     * @param value The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
     * */*/*/*/
     */
    @JvmName("gdsxcxhtqywhpwyd")
    public suspend fun keyReference(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyReference = mapped
    }

    internal fun build(): CryptoKeyConfigArgs = CryptoKeyConfigArgs(
        keyReference = keyReference,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy