Class ComputeInstanceSchedulingOnInstanceStopAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceSchedulingOnInstanceStopAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceSchedulingOnInstanceStopAction>
- Enclosing interface:
- ComputeInstanceSchedulingOnInstanceStopAction
@Stability(Stable) public static final class ComputeInstanceSchedulingOnInstanceStopAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceSchedulingOnInstanceStopAction>
A builder forComputeInstanceSchedulingOnInstanceStopAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceSchedulingOnInstanceStopActionbuild()Builds the configured instance.ComputeInstanceSchedulingOnInstanceStopAction.BuilderdiscardLocalSsd(com.hashicorp.cdktf.IResolvable discardLocalSsd)Sets the value ofComputeInstanceSchedulingOnInstanceStopAction.getDiscardLocalSsd()ComputeInstanceSchedulingOnInstanceStopAction.BuilderdiscardLocalSsd(Boolean discardLocalSsd)Sets the value ofComputeInstanceSchedulingOnInstanceStopAction.getDiscardLocalSsd()
-
-
-
Method Detail
-
discardLocalSsd
@Stability(Stable) public ComputeInstanceSchedulingOnInstanceStopAction.Builder discardLocalSsd(Boolean discardLocalSsd)
Sets the value ofComputeInstanceSchedulingOnInstanceStopAction.getDiscardLocalSsd()- 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#discard_local_ssd ComputeInstance#discard_local_ssd}- Returns:
this
-
discardLocalSsd
@Stability(Stable) public ComputeInstanceSchedulingOnInstanceStopAction.Builder discardLocalSsd(com.hashicorp.cdktf.IResolvable discardLocalSsd)
Sets the value ofComputeInstanceSchedulingOnInstanceStopAction.getDiscardLocalSsd()- 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#discard_local_ssd ComputeInstance#discard_local_ssd}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceSchedulingOnInstanceStopAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceSchedulingOnInstanceStopAction>- Returns:
- a new instance of
ComputeInstanceSchedulingOnInstanceStopAction - Throws:
NullPointerException- if any required attribute was not provided
-
-