Class HealthcareDatasetEncryptionSpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.healthcare_dataset.HealthcareDatasetEncryptionSpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<HealthcareDatasetEncryptionSpec>
- Enclosing interface:
- HealthcareDatasetEncryptionSpec
@Stability(Stable) public static final class HealthcareDatasetEncryptionSpec.Builder extends Object implements software.amazon.jsii.Builder<HealthcareDatasetEncryptionSpec>
A builder forHealthcareDatasetEncryptionSpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcareDatasetEncryptionSpecbuild()Builds the configured instance.HealthcareDatasetEncryptionSpec.BuilderkmsKeyName(String kmsKeyName)Sets the value ofHealthcareDatasetEncryptionSpec.getKmsKeyName()
-
-
-
Method Detail
-
kmsKeyName
@Stability(Stable) public HealthcareDatasetEncryptionSpec.Builder kmsKeyName(String kmsKeyName)
Sets the value ofHealthcareDatasetEncryptionSpec.getKmsKeyName()- Parameters:
kmsKeyName- KMS encryption key that is used to secure this dataset and its sub-resources. The key used for encryption and the dataset must be in the same location. If empty, the default Google encryption key will be used to secure this dataset. The format is projects/{projectId}/locations/{locationId}/keyRings/{keyRingId}/cryptoKeys/{keyId}. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_dataset#kms_key_name HealthcareDataset#kms_key_name}- Returns:
this
-
build
@Stability(Stable) public HealthcareDatasetEncryptionSpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HealthcareDatasetEncryptionSpec>- Returns:
- a new instance of
HealthcareDatasetEncryptionSpec - Throws:
NullPointerException- if any required attribute was not provided
-
-