Class VertexAiDatasetEncryptionSpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_dataset.VertexAiDatasetEncryptionSpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiDatasetEncryptionSpec>
- Enclosing interface:
- VertexAiDatasetEncryptionSpec
@Stability(Stable) public static final class VertexAiDatasetEncryptionSpec.Builder extends Object implements software.amazon.jsii.Builder<VertexAiDatasetEncryptionSpec>
A builder forVertexAiDatasetEncryptionSpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiDatasetEncryptionSpecbuild()Builds the configured instance.VertexAiDatasetEncryptionSpec.BuilderkmsKeyName(String kmsKeyName)Sets the value ofVertexAiDatasetEncryptionSpec.getKmsKeyName()
-
-
-
Method Detail
-
kmsKeyName
@Stability(Stable) public VertexAiDatasetEncryptionSpec.Builder kmsKeyName(String kmsKeyName)
Sets the value ofVertexAiDatasetEncryptionSpec.getKmsKeyName()- Parameters:
kmsKeyName- Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_dataset#kms_key_name VertexAiDataset#kms_key_name}- Returns:
this
-
build
@Stability(Stable) public VertexAiDatasetEncryptionSpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiDatasetEncryptionSpec>- Returns:
- a new instance of
VertexAiDatasetEncryptionSpec - Throws:
NullPointerException- if any required attribute was not provided
-
-