Class AlloydbClusterEncryptionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterEncryptionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterEncryptionConfig>
- Enclosing interface:
- AlloydbClusterEncryptionConfig
@Stability(Stable) public static final class AlloydbClusterEncryptionConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterEncryptionConfig>
A builder forAlloydbClusterEncryptionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterEncryptionConfigbuild()Builds the configured instance.AlloydbClusterEncryptionConfig.BuilderkmsKeyName(String kmsKeyName)Sets the value ofAlloydbClusterEncryptionConfig.getKmsKeyName()
-
-
-
Method Detail
-
kmsKeyName
@Stability(Stable) public AlloydbClusterEncryptionConfig.Builder kmsKeyName(String kmsKeyName)
Sets the value ofAlloydbClusterEncryptionConfig.getKmsKeyName()- Parameters:
kmsKeyName- The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#kms_key_name AlloydbCluster#kms_key_name}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterEncryptionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterEncryptionConfig>- Returns:
- a new instance of
AlloydbClusterEncryptionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-