Class ContainerClusterNodePoolNodeConfigSecondaryBootDisks.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolNodeConfigSecondaryBootDisks.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigSecondaryBootDisks>
- Enclosing interface:
- ContainerClusterNodePoolNodeConfigSecondaryBootDisks
@Stability(Stable) public static final class ContainerClusterNodePoolNodeConfigSecondaryBootDisks.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigSecondaryBootDisks>
A builder forContainerClusterNodePoolNodeConfigSecondaryBootDisks
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodePoolNodeConfigSecondaryBootDisksbuild()Builds the configured instance.ContainerClusterNodePoolNodeConfigSecondaryBootDisks.BuilderdiskImage(String diskImage)Sets the value ofContainerClusterNodePoolNodeConfigSecondaryBootDisks.getDiskImage()ContainerClusterNodePoolNodeConfigSecondaryBootDisks.Buildermode(String mode)Sets the value ofContainerClusterNodePoolNodeConfigSecondaryBootDisks.getMode()
-
-
-
Method Detail
-
diskImage
@Stability(Stable) public ContainerClusterNodePoolNodeConfigSecondaryBootDisks.Builder diskImage(String diskImage)
Sets the value ofContainerClusterNodePoolNodeConfigSecondaryBootDisks.getDiskImage()- Parameters:
diskImage- Disk image to create the secondary boot disk from. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#disk_image ContainerCluster#disk_image}- Returns:
this
-
mode
@Stability(Stable) public ContainerClusterNodePoolNodeConfigSecondaryBootDisks.Builder mode(String mode)
Sets the value ofContainerClusterNodePoolNodeConfigSecondaryBootDisks.getMode()- Parameters:
mode- Mode for how the secondary boot disk is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#mode ContainerCluster#mode}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolNodeConfigSecondaryBootDisks build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigSecondaryBootDisks>- Returns:
- a new instance of
ContainerClusterNodePoolNodeConfigSecondaryBootDisks - Throws:
NullPointerException- if any required attribute was not provided
-
-