Class DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.BuilderbootDiskSizeGb(Number bootDiskSizeGb)DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.BuilderbootDiskType(String bootDiskType)DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigbuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.BuildernumLocalSsds(Number numLocalSsds)
-
-
-
Method Detail
-
bootDiskSizeGb
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.Builder bootDiskSizeGb(Number bootDiskSizeGb)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.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 DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.Builder bootDiskType(String bootDiskType)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.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 DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.Builder numLocalSsds(Number numLocalSsds)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.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 DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-