Class ComputeDiskGuestOsFeatures.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_disk.ComputeDiskGuestOsFeatures.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeDiskGuestOsFeatures>
- Enclosing interface:
- ComputeDiskGuestOsFeatures
@Stability(Stable) public static final class ComputeDiskGuestOsFeatures.Builder extends Object implements software.amazon.jsii.Builder<ComputeDiskGuestOsFeatures>
A builder forComputeDiskGuestOsFeatures
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeDiskGuestOsFeaturesbuild()Builds the configured instance.ComputeDiskGuestOsFeatures.Buildertype(String type)Sets the value ofComputeDiskGuestOsFeatures.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public ComputeDiskGuestOsFeatures.Builder type(String type)
Sets the value ofComputeDiskGuestOsFeatures.getType()- Parameters:
type- The type of supported feature. Read Enabling guest operating system features to see a list of available options. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_disk#type ComputeDisk#type}- Returns:
this
-
build
@Stability(Stable) public ComputeDiskGuestOsFeatures build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeDiskGuestOsFeatures>- Returns:
- a new instance of
ComputeDiskGuestOsFeatures - Throws:
NullPointerException- if any required attribute was not provided
-
-