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