Class DataprocClusterClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_cluster.DataprocClusterClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocClusterClusterConfig>
- Enclosing interface:
- DataprocClusterClusterConfig
@Stability(Stable) public static final class DataprocClusterClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocClusterClusterConfig>
A builder forDataprocClusterClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
autoscalingConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder autoscalingConfig(DataprocClusterClusterConfigAutoscalingConfig autoscalingConfig)
Sets the value ofDataprocClusterClusterConfig.getAutoscalingConfig()- Parameters:
autoscalingConfig- autoscaling_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#autoscaling_config DataprocCluster#autoscaling_config}- Returns:
this
-
auxiliaryNodeGroups
@Stability(Stable) public DataprocClusterClusterConfig.Builder auxiliaryNodeGroups(com.hashicorp.cdktf.IResolvable auxiliaryNodeGroups)
Sets the value ofDataprocClusterClusterConfig.getAuxiliaryNodeGroups()- Parameters:
auxiliaryNodeGroups- auxiliary_node_groups block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#auxiliary_node_groups DataprocCluster#auxiliary_node_groups}- Returns:
this
-
auxiliaryNodeGroups
@Stability(Stable) public DataprocClusterClusterConfig.Builder auxiliaryNodeGroups(List<? extends DataprocClusterClusterConfigAuxiliaryNodeGroups> auxiliaryNodeGroups)
Sets the value ofDataprocClusterClusterConfig.getAuxiliaryNodeGroups()- Parameters:
auxiliaryNodeGroups- auxiliary_node_groups block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#auxiliary_node_groups DataprocCluster#auxiliary_node_groups}- Returns:
this
-
dataprocMetricConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder dataprocMetricConfig(DataprocClusterClusterConfigDataprocMetricConfig dataprocMetricConfig)
Sets the value ofDataprocClusterClusterConfig.getDataprocMetricConfig()- Parameters:
dataprocMetricConfig- dataproc_metric_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#dataproc_metric_config DataprocCluster#dataproc_metric_config}- Returns:
this
-
encryptionConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder encryptionConfig(DataprocClusterClusterConfigEncryptionConfig encryptionConfig)
Sets the value ofDataprocClusterClusterConfig.getEncryptionConfig()- Parameters:
encryptionConfig- encryption_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#encryption_config DataprocCluster#encryption_config}- Returns:
this
-
endpointConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder endpointConfig(DataprocClusterClusterConfigEndpointConfig endpointConfig)
Sets the value ofDataprocClusterClusterConfig.getEndpointConfig()- Parameters:
endpointConfig- endpoint_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#endpoint_config DataprocCluster#endpoint_config}- Returns:
this
-
gceClusterConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder gceClusterConfig(DataprocClusterClusterConfigGceClusterConfig gceClusterConfig)
Sets the value ofDataprocClusterClusterConfig.getGceClusterConfig()- Parameters:
gceClusterConfig- gce_cluster_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#gce_cluster_config DataprocCluster#gce_cluster_config}- Returns:
this
-
initializationAction
@Stability(Stable) public DataprocClusterClusterConfig.Builder initializationAction(com.hashicorp.cdktf.IResolvable initializationAction)
Sets the value ofDataprocClusterClusterConfig.getInitializationAction()- Parameters:
initializationAction- initialization_action block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#initialization_action DataprocCluster#initialization_action}- Returns:
this
-
initializationAction
@Stability(Stable) public DataprocClusterClusterConfig.Builder initializationAction(List<? extends DataprocClusterClusterConfigInitializationAction> initializationAction)
Sets the value ofDataprocClusterClusterConfig.getInitializationAction()- Parameters:
initializationAction- initialization_action block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#initialization_action DataprocCluster#initialization_action}- Returns:
this
-
lifecycleConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder lifecycleConfig(DataprocClusterClusterConfigLifecycleConfig lifecycleConfig)
Sets the value ofDataprocClusterClusterConfig.getLifecycleConfig()- Parameters:
lifecycleConfig- lifecycle_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#lifecycle_config DataprocCluster#lifecycle_config}- Returns:
this
-
masterConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder masterConfig(DataprocClusterClusterConfigMasterConfig masterConfig)
Sets the value ofDataprocClusterClusterConfig.getMasterConfig()- Parameters:
masterConfig- master_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#master_config DataprocCluster#master_config}- Returns:
this
-
metastoreConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder metastoreConfig(DataprocClusterClusterConfigMetastoreConfig metastoreConfig)
Sets the value ofDataprocClusterClusterConfig.getMetastoreConfig()- Parameters:
metastoreConfig- metastore_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#metastore_config DataprocCluster#metastore_config}- Returns:
this
-
preemptibleWorkerConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder preemptibleWorkerConfig(DataprocClusterClusterConfigPreemptibleWorkerConfig preemptibleWorkerConfig)
Sets the value ofDataprocClusterClusterConfig.getPreemptibleWorkerConfig()- Parameters:
preemptibleWorkerConfig- preemptible_worker_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#preemptible_worker_config DataprocCluster#preemptible_worker_config}- Returns:
this
-
securityConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder securityConfig(DataprocClusterClusterConfigSecurityConfig securityConfig)
Sets the value ofDataprocClusterClusterConfig.getSecurityConfig()- Parameters:
securityConfig- security_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#security_config DataprocCluster#security_config}- Returns:
this
-
softwareConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder softwareConfig(DataprocClusterClusterConfigSoftwareConfig softwareConfig)
Sets the value ofDataprocClusterClusterConfig.getSoftwareConfig()- Parameters:
softwareConfig- software_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#software_config DataprocCluster#software_config}- Returns:
this
-
stagingBucket
@Stability(Stable) public DataprocClusterClusterConfig.Builder stagingBucket(String stagingBucket)
Sets the value ofDataprocClusterClusterConfig.getStagingBucket()- Parameters:
stagingBucket- The Cloud Storage staging bucket used to stage files, such as Hadoop jars, between client machines and the cluster. Note: If you don't explicitly specify a staging_bucket then GCP will auto create / assign one for you. However, you are not guaranteed an auto generated bucket which is solely dedicated to your cluster; it may be shared with other clusters in the same region/zone also choosing to use the auto generation option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#staging_bucket DataprocCluster#staging_bucket}- Returns:
this
-
tempBucket
@Stability(Stable) public DataprocClusterClusterConfig.Builder tempBucket(String tempBucket)
Sets the value ofDataprocClusterClusterConfig.getTempBucket()- Parameters:
tempBucket- The Cloud Storage temp bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. Note: If you don't explicitly specify a temp_bucket then GCP will auto create / assign one for you. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#temp_bucket DataprocCluster#temp_bucket}- Returns:
this
-
workerConfig
@Stability(Stable) public DataprocClusterClusterConfig.Builder workerConfig(DataprocClusterClusterConfigWorkerConfig workerConfig)
Sets the value ofDataprocClusterClusterConfig.getWorkerConfig()- Parameters:
workerConfig- worker_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#worker_config DataprocCluster#worker_config}- Returns:
this
-
build
@Stability(Stable) public DataprocClusterClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocClusterClusterConfig>- Returns:
- a new instance of
DataprocClusterClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-