Class ComputeInstanceShieldedInstanceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceShieldedInstanceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceShieldedInstanceConfig>
- Enclosing interface:
- ComputeInstanceShieldedInstanceConfig
@Stability(Stable) public static final class ComputeInstanceShieldedInstanceConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceShieldedInstanceConfig>
A builder forComputeInstanceShieldedInstanceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enableIntegrityMonitoring
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig.Builder enableIntegrityMonitoring(Boolean enableIntegrityMonitoring)
Sets the value ofComputeInstanceShieldedInstanceConfig.getEnableIntegrityMonitoring()- Parameters:
enableIntegrityMonitoring- Whether integrity monitoring is enabled for the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_integrity_monitoring ComputeInstance#enable_integrity_monitoring}- Returns:
this
-
enableIntegrityMonitoring
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig.Builder enableIntegrityMonitoring(com.hashicorp.cdktf.IResolvable enableIntegrityMonitoring)
Sets the value ofComputeInstanceShieldedInstanceConfig.getEnableIntegrityMonitoring()- Parameters:
enableIntegrityMonitoring- Whether integrity monitoring is enabled for the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_integrity_monitoring ComputeInstance#enable_integrity_monitoring}- Returns:
this
-
enableSecureBoot
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig.Builder enableSecureBoot(Boolean enableSecureBoot)
Sets the value ofComputeInstanceShieldedInstanceConfig.getEnableSecureBoot()- Parameters:
enableSecureBoot- Whether secure boot is enabled for the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_secure_boot ComputeInstance#enable_secure_boot}- Returns:
this
-
enableSecureBoot
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig.Builder enableSecureBoot(com.hashicorp.cdktf.IResolvable enableSecureBoot)
Sets the value ofComputeInstanceShieldedInstanceConfig.getEnableSecureBoot()- Parameters:
enableSecureBoot- Whether secure boot is enabled for the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_secure_boot ComputeInstance#enable_secure_boot}- Returns:
this
-
enableVtpm
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig.Builder enableVtpm(Boolean enableVtpm)
Sets the value ofComputeInstanceShieldedInstanceConfig.getEnableVtpm()- Parameters:
enableVtpm- Whether the instance uses vTPM. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_vtpm ComputeInstance#enable_vtpm}- Returns:
this
-
enableVtpm
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig.Builder enableVtpm(com.hashicorp.cdktf.IResolvable enableVtpm)
Sets the value ofComputeInstanceShieldedInstanceConfig.getEnableVtpm()- Parameters:
enableVtpm- Whether the instance uses vTPM. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_vtpm ComputeInstance#enable_vtpm}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceShieldedInstanceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceShieldedInstanceConfig>- Returns:
- a new instance of
ComputeInstanceShieldedInstanceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-