Class ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey>
- Enclosing interface:
- ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey
@Stability(Stable) public static final class ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey>
A builder forComputeInstanceTemplateDiskSourceSnapshotEncryptionKey
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceTemplateDiskSourceSnapshotEncryptionKeybuild()Builds the configured instance.ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.BuilderkmsKeySelfLink(String kmsKeySelfLink)ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.BuilderkmsKeyServiceAccount(String kmsKeyServiceAccount)
-
-
-
Method Detail
-
kmsKeySelfLink
@Stability(Stable) public ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder kmsKeySelfLink(String kmsKeySelfLink)
- Parameters:
kmsKeySelfLink- The self link of the encryption key that is stored in Google Cloud KMS. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#kms_key_self_link ComputeInstanceTemplate#kms_key_self_link}- Returns:
this
-
kmsKeyServiceAccount
@Stability(Stable) public ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder kmsKeyServiceAccount(String kmsKeyServiceAccount)
- Parameters:
kmsKeyServiceAccount- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#kms_key_service_account ComputeInstanceTemplate#kms_key_service_account}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey>- Returns:
- a new instance of
ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey - Throws:
NullPointerException- if any required attribute was not provided
-
-