com.pulumi.gcp.bigquery.kotlin.inputs.JobCopyDestinationEncryptionConfigurationArgs.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.JobCopyDestinationEncryptionConfigurationArgs.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.
* @property kmsKeyVersion (Output)
* Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
*/
public data class JobCopyDestinationEncryptionConfigurationArgs(
public val kmsKeyName: Output,
public val kmsKeyVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.JobCopyDestinationEncryptionConfigurationArgs =
com.pulumi.gcp.bigquery.inputs.JobCopyDestinationEncryptionConfigurationArgs.builder()
.kmsKeyName(kmsKeyName.applyValue({ args0 -> args0 }))
.kmsKeyVersion(kmsKeyVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobCopyDestinationEncryptionConfigurationArgs].
*/
@PulumiTagMarker
public class JobCopyDestinationEncryptionConfigurationArgsBuilder internal constructor() {
private var kmsKeyName: Output? = null
private var kmsKeyVersion: 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("pgajvnjmufojfmuq")
public suspend fun kmsKeyName(`value`: Output) {
this.kmsKeyName = value
}
/**
* @param value (Output)
* Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
*/
@JvmName("vdqsxwlgprtqdvwu")
public suspend fun kmsKeyVersion(`value`: Output) {
this.kmsKeyVersion = 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("bcqbcyhdjpanlmgd")
public suspend fun kmsKeyName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kmsKeyName = mapped
}
/**
* @param value (Output)
* Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
*/
@JvmName("ptqapplhqhlajjqn")
public suspend fun kmsKeyVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyVersion = mapped
}
internal fun build(): JobCopyDestinationEncryptionConfigurationArgs =
JobCopyDestinationEncryptionConfigurationArgs(
kmsKeyName = kmsKeyName ?: throw PulumiNullFieldException("kmsKeyName"),
kmsKeyVersion = kmsKeyVersion,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy