Class ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_instance_template.ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey>
- Enclosing interface:
- ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey
@Stability(Stable) public static final class ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeybuild()Builds the configured instance.ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.BuilderkmsKeySelfLink(String kmsKeySelfLink)ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.BuilderkmsKeyServiceAccount(String kmsKeyServiceAccount)
-
-
-
Method Detail
-
kmsKeySelfLink
@Stability(Stable) public ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.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_region_instance_template#kms_key_self_link ComputeRegionInstanceTemplate#kms_key_self_link}- Returns:
this
-
kmsKeyServiceAccount
@Stability(Stable) public ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.Builder kmsKeyServiceAccount(String kmsKeyServiceAccount)
Sets the value ofComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey.getKmsKeyServiceAccount()- 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_region_instance_template#kms_key_service_account ComputeRegionInstanceTemplate#kms_key_service_account}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey>- Returns:
- a new instance of
ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey - Throws:
NullPointerException- if any required attribute was not provided
-
-