Class DataprocJobPlacement.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_job.DataprocJobPlacement.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocJobPlacement>
- Enclosing interface:
- DataprocJobPlacement
@Stability(Stable) public static final class DataprocJobPlacement.Builder extends Object implements software.amazon.jsii.Builder<DataprocJobPlacement>
A builder forDataprocJobPlacement
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocJobPlacementbuild()Builds the configured instance.DataprocJobPlacement.BuilderclusterName(String clusterName)Sets the value ofDataprocJobPlacement.getClusterName()
-
-
-
Method Detail
-
clusterName
@Stability(Stable) public DataprocJobPlacement.Builder clusterName(String clusterName)
Sets the value ofDataprocJobPlacement.getClusterName()- Parameters:
clusterName- The name of the cluster where the job will be submitted. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_job#cluster_name DataprocJob#cluster_name}- Returns:
this
-
build
@Stability(Stable) public DataprocJobPlacement build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocJobPlacement>- Returns:
- a new instance of
DataprocJobPlacement - Throws:
NullPointerException- if any required attribute was not provided
-
-