Class DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfig>
A builder forDataprocWorkflowTemplatePlacementManagedClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
autoscalingConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder autoscalingConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig autoscalingConfig)
- Parameters:
autoscalingConfig- autoscaling_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#autoscaling_config DataprocWorkflowTemplate#autoscaling_config}- Returns:
this
-
encryptionConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder encryptionConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigEncryptionConfig encryptionConfig)
- Parameters:
encryptionConfig- encryption_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#encryption_config DataprocWorkflowTemplate#encryption_config}- Returns:
this
-
endpointConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder endpointConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigEndpointConfig endpointConfig)
- Parameters:
endpointConfig- endpoint_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#endpoint_config DataprocWorkflowTemplate#endpoint_config}- Returns:
this
-
gceClusterConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder gceClusterConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig gceClusterConfig)
- Parameters:
gceClusterConfig- gce_cluster_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#gce_cluster_config DataprocWorkflowTemplate#gce_cluster_config}- Returns:
this
-
initializationActions
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder initializationActions(com.hashicorp.cdktf.IResolvable initializationActions)
- Parameters:
initializationActions- initialization_actions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#initialization_actions DataprocWorkflowTemplate#initialization_actions}- Returns:
this
-
initializationActions
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder initializationActions(List<? extends DataprocWorkflowTemplatePlacementManagedClusterConfigInitializationActions> initializationActions)
- Parameters:
initializationActions- initialization_actions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#initialization_actions DataprocWorkflowTemplate#initialization_actions}- Returns:
this
-
lifecycleConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder lifecycleConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig lifecycleConfig)
- Parameters:
lifecycleConfig- lifecycle_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#lifecycle_config DataprocWorkflowTemplate#lifecycle_config}- Returns:
this
-
masterConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder masterConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigMasterConfig masterConfig)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfig.getMasterConfig()- Parameters:
masterConfig- master_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#master_config DataprocWorkflowTemplate#master_config}- Returns:
this
-
secondaryWorkerConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder secondaryWorkerConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig secondaryWorkerConfig)
- Parameters:
secondaryWorkerConfig- secondary_worker_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#secondary_worker_config DataprocWorkflowTemplate#secondary_worker_config}- Returns:
this
-
securityConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder securityConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfig securityConfig)
- Parameters:
securityConfig- security_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#security_config DataprocWorkflowTemplate#security_config}- Returns:
this
-
softwareConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder softwareConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig softwareConfig)
- Parameters:
softwareConfig- software_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#software_config DataprocWorkflowTemplate#software_config}- Returns:
this
-
stagingBucket
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder stagingBucket(String stagingBucket)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfig.getStagingBucket()- Parameters:
stagingBucket- Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see [Dataproc staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.** Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#staging_bucket DataprocWorkflowTemplate#staging_bucket}- Returns:
this
-
tempBucket
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder tempBucket(String tempBucket)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfig.getTempBucket()- Parameters:
tempBucket- Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket. **This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.** Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#temp_bucket DataprocWorkflowTemplate#temp_bucket}- Returns:
this
-
workerConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig.Builder workerConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigWorkerConfig workerConfig)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfig.getWorkerConfig()- Parameters:
workerConfig- worker_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#worker_config DataprocWorkflowTemplate#worker_config}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-