Class DataprocMetastoreServiceEncryptionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_service.DataprocMetastoreServiceEncryptionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreServiceEncryptionConfig>
- Enclosing interface:
- DataprocMetastoreServiceEncryptionConfig
@Stability(Stable) public static final class DataprocMetastoreServiceEncryptionConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreServiceEncryptionConfig>
A builder forDataprocMetastoreServiceEncryptionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocMetastoreServiceEncryptionConfigbuild()Builds the configured instance.DataprocMetastoreServiceEncryptionConfig.BuilderkmsKey(String kmsKey)Sets the value ofDataprocMetastoreServiceEncryptionConfig.getKmsKey()
-
-
-
Method Detail
-
kmsKey
@Stability(Stable) public DataprocMetastoreServiceEncryptionConfig.Builder kmsKey(String kmsKey)
Sets the value ofDataprocMetastoreServiceEncryptionConfig.getKmsKey()- Parameters:
kmsKey- The fully qualified customer provided Cloud KMS key name to use for customer data encryption. Use the following format: 'projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#kms_key DataprocMetastoreService#kms_key}- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreServiceEncryptionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreServiceEncryptionConfig>- Returns:
- a new instance of
DataprocMetastoreServiceEncryptionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-