Class DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.BuilderbootDiskSizeGb(Number bootDiskSizeGb)DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.BuilderbootDiskType(String bootDiskType)DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfigbuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.BuildernumLocalSsds(Number numLocalSsds)
-
-
-
Method Detail
-
bootDiskSizeGb
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.Builder bootDiskSizeGb(Number bootDiskSizeGb)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.getBootDiskSizeGb()- Parameters:
bootDiskSizeGb- Optional. Size in GB of the boot disk (default is 500GB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#boot_disk_size_gb DataprocWorkflowTemplate#boot_disk_size_gb}- Returns:
this
-
bootDiskType
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.Builder bootDiskType(String bootDiskType)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.getBootDiskType()- Parameters:
bootDiskType- Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#boot_disk_type DataprocWorkflowTemplate#boot_disk_type}- Returns:
this
-
numLocalSsds
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.Builder numLocalSsds(Number numLocalSsds)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig.getNumLocalSsds()- Parameters:
numLocalSsds- Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#num_local_ssds DataprocWorkflowTemplate#num_local_ssds}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-