Class BigqueryTableEncryptionConfiguration.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_table.BigqueryTableEncryptionConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryTableEncryptionConfiguration>
- Enclosing interface:
- BigqueryTableEncryptionConfiguration
@Stability(Stable) public static final class BigqueryTableEncryptionConfiguration.Builder extends Object implements software.amazon.jsii.Builder<BigqueryTableEncryptionConfiguration>
A builder forBigqueryTableEncryptionConfiguration
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryTableEncryptionConfigurationbuild()Builds the configured instance.BigqueryTableEncryptionConfiguration.BuilderkmsKeyName(String kmsKeyName)Sets the value ofBigqueryTableEncryptionConfiguration.getKmsKeyName()
-
-
-
Method Detail
-
kmsKeyName
@Stability(Stable) public BigqueryTableEncryptionConfiguration.Builder kmsKeyName(String kmsKeyName)
Sets the value ofBigqueryTableEncryptionConfiguration.getKmsKeyName()- Parameters:
kmsKeyName- The self link or full name of a key which should be used to encrypt this table. This parameter is required. Note that the default bigquery service account will need to have encrypt/decrypt permissions on this key - you may want to see the google_bigquery_default_service_account datasource and the google_kms_crypto_key_iam_binding resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#kms_key_name BigqueryTable#kms_key_name}- Returns:
this
-
build
@Stability(Stable) public BigqueryTableEncryptionConfiguration build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryTableEncryptionConfiguration>- Returns:
- a new instance of
BigqueryTableEncryptionConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-
-