Class AlloydbBackupEncryptionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_backup.AlloydbBackupEncryptionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbBackupEncryptionConfig>
- Enclosing interface:
- AlloydbBackupEncryptionConfig
@Stability(Stable) public static final class AlloydbBackupEncryptionConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbBackupEncryptionConfig>
A builder forAlloydbBackupEncryptionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbBackupEncryptionConfigbuild()Builds the configured instance.AlloydbBackupEncryptionConfig.BuilderkmsKeyName(String kmsKeyName)Sets the value ofAlloydbBackupEncryptionConfig.getKmsKeyName()
-
-
-
Method Detail
-
kmsKeyName
@Stability(Stable) public AlloydbBackupEncryptionConfig.Builder kmsKeyName(String kmsKeyName)
Sets the value ofAlloydbBackupEncryptionConfig.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_backup#kms_key_name AlloydbBackup#kms_key_name}- Returns:
this
-
build
@Stability(Stable) public AlloydbBackupEncryptionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbBackupEncryptionConfig>- Returns:
- a new instance of
AlloydbBackupEncryptionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-