Class DataprocWorkflowTemplatePlacementManagedCluster.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedCluster.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedCluster>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedCluster
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedCluster.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedCluster>
A builder forDataprocWorkflowTemplatePlacementManagedCluster
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterbuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedCluster.BuilderclusterName(String clusterName)Sets the value ofDataprocWorkflowTemplatePlacementManagedCluster.getClusterName()DataprocWorkflowTemplatePlacementManagedCluster.Builderconfig(DataprocWorkflowTemplatePlacementManagedClusterConfig config)Sets the value ofDataprocWorkflowTemplatePlacementManagedCluster.getConfig()DataprocWorkflowTemplatePlacementManagedCluster.Builderlabels(Map<String,String> labels)Sets the value ofDataprocWorkflowTemplatePlacementManagedCluster.getLabels()
-
-
-
Method Detail
-
clusterName
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedCluster.Builder clusterName(String clusterName)
Sets the value ofDataprocWorkflowTemplatePlacementManagedCluster.getClusterName()- Parameters:
clusterName- Required. This parameter is required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix. The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#cluster_name DataprocWorkflowTemplate#cluster_name}- Returns:
this
-
config
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedCluster.Builder config(DataprocWorkflowTemplatePlacementManagedClusterConfig config)
Sets the value ofDataprocWorkflowTemplatePlacementManagedCluster.getConfig()- Parameters:
config- config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#config DataprocWorkflowTemplate#config}- Returns:
this
-
labels
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedCluster.Builder labels(Map<String,String> labels)
Sets the value ofDataprocWorkflowTemplatePlacementManagedCluster.getLabels()- Parameters:
labels- Optional. The labels to associate with this cluster. Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than 32 labels can be associated with a given cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#labels DataprocWorkflowTemplate#labels}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedCluster build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedCluster>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedCluster - Throws:
NullPointerException- if any required attribute was not provided
-
-