![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.bigquery.kotlin.inputs.DatasetDefaultEncryptionConfigurationArgs.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.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.DatasetDefaultEncryptionConfigurationArgs.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 kmsKeyName Describes the Cloud KMS encryption key that will be used to protect destination
* BigQuery table. The BigQuery Service Account associated with your project requires
* access to this encryption key.
*/
public data class DatasetDefaultEncryptionConfigurationArgs(
public val kmsKeyName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.DatasetDefaultEncryptionConfigurationArgs =
com.pulumi.gcp.bigquery.inputs.DatasetDefaultEncryptionConfigurationArgs.builder()
.kmsKeyName(kmsKeyName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetDefaultEncryptionConfigurationArgs].
*/
@PulumiTagMarker
public class DatasetDefaultEncryptionConfigurationArgsBuilder internal constructor() {
private var kmsKeyName: Output? = null
/**
* @param value Describes the Cloud KMS encryption key that will be used to protect destination
* BigQuery table. The BigQuery Service Account associated with your project requires
* access to this encryption key.
*/
@JvmName("xnqfcfrptjoesinm")
public suspend fun kmsKeyName(`value`: Output) {
this.kmsKeyName = value
}
/**
* @param value Describes the Cloud KMS encryption key that will be used to protect destination
* BigQuery table. The BigQuery Service Account associated with your project requires
* access to this encryption key.
*/
@JvmName("pygoodwdltpsudfn")
public suspend fun kmsKeyName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kmsKeyName = mapped
}
internal fun build(): DatasetDefaultEncryptionConfigurationArgs =
DatasetDefaultEncryptionConfigurationArgs(
kmsKeyName = kmsKeyName ?: throw PulumiNullFieldException("kmsKeyName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy