Class ComputeInstanceTemplateSchedulingOnInstanceStopAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateSchedulingOnInstanceStopAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceTemplateSchedulingOnInstanceStopAction>
- Enclosing interface:
- ComputeInstanceTemplateSchedulingOnInstanceStopAction
@Stability(Stable) public static final class ComputeInstanceTemplateSchedulingOnInstanceStopAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceTemplateSchedulingOnInstanceStopAction>
A builder forComputeInstanceTemplateSchedulingOnInstanceStopAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceTemplateSchedulingOnInstanceStopActionbuild()Builds the configured instance.ComputeInstanceTemplateSchedulingOnInstanceStopAction.BuilderdiscardLocalSsd(com.hashicorp.cdktf.IResolvable discardLocalSsd)ComputeInstanceTemplateSchedulingOnInstanceStopAction.BuilderdiscardLocalSsd(Boolean discardLocalSsd)
-
-
-
Method Detail
-
discardLocalSsd
@Stability(Stable) public ComputeInstanceTemplateSchedulingOnInstanceStopAction.Builder discardLocalSsd(Boolean discardLocalSsd)
- Parameters:
discardLocalSsd- If true, the contents of any attached Local SSD disks will be discarded. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#discard_local_ssd ComputeInstanceTemplate#discard_local_ssd}- Returns:
this
-
discardLocalSsd
@Stability(Stable) public ComputeInstanceTemplateSchedulingOnInstanceStopAction.Builder discardLocalSsd(com.hashicorp.cdktf.IResolvable discardLocalSsd)
- Parameters:
discardLocalSsd- If true, the contents of any attached Local SSD disks will be discarded. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#discard_local_ssd ComputeInstanceTemplate#discard_local_ssd}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceTemplateSchedulingOnInstanceStopAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceTemplateSchedulingOnInstanceStopAction>- Returns:
- a new instance of
ComputeInstanceTemplateSchedulingOnInstanceStopAction - Throws:
NullPointerException- if any required attribute was not provided
-
-