Class DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinitybuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity.BuildernodeGroup(String nodeGroup)
-
-
-
Method Detail
-
nodeGroup
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity.Builder nodeGroup(String nodeGroup)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity.getNodeGroup()- Parameters:
nodeGroup- Required. This parameter is required. The URI of a sole-tenant [node group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on. A full URL, partial URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1` * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1` * `node-group-1` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#node_group DataprocWorkflowTemplate#node_group}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity - Throws:
NullPointerException- if any required attribute was not provided
-
-