Class DataprocClusterClusterConfigSoftwareConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_cluster.DataprocClusterClusterConfigSoftwareConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocClusterClusterConfigSoftwareConfig>
- Enclosing interface:
- DataprocClusterClusterConfigSoftwareConfig
@Stability(Stable) public static final class DataprocClusterClusterConfigSoftwareConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocClusterClusterConfigSoftwareConfig>
A builder forDataprocClusterClusterConfigSoftwareConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocClusterClusterConfigSoftwareConfigbuild()Builds the configured instance.DataprocClusterClusterConfigSoftwareConfig.BuilderimageVersion(String imageVersion)Sets the value ofDataprocClusterClusterConfigSoftwareConfig.getImageVersion()DataprocClusterClusterConfigSoftwareConfig.BuilderoptionalComponents(List<String> optionalComponents)Sets the value ofDataprocClusterClusterConfigSoftwareConfig.getOptionalComponents()DataprocClusterClusterConfigSoftwareConfig.BuilderoverrideProperties(Map<String,String> overrideProperties)Sets the value ofDataprocClusterClusterConfigSoftwareConfig.getOverrideProperties()
-
-
-
Method Detail
-
imageVersion
@Stability(Stable) public DataprocClusterClusterConfigSoftwareConfig.Builder imageVersion(String imageVersion)
Sets the value ofDataprocClusterClusterConfigSoftwareConfig.getImageVersion()- Parameters:
imageVersion- The Cloud Dataproc image version to use for the cluster - this controls the sets of software versions installed onto the nodes when you create clusters. If not specified, defaults to the latest version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#image_version DataprocCluster#image_version}- Returns:
this
-
optionalComponents
@Stability(Stable) public DataprocClusterClusterConfigSoftwareConfig.Builder optionalComponents(List<String> optionalComponents)
Sets the value ofDataprocClusterClusterConfigSoftwareConfig.getOptionalComponents()- Parameters:
optionalComponents- The set of optional components to activate on the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#optional_components DataprocCluster#optional_components}- Returns:
this
-
overrideProperties
@Stability(Stable) public DataprocClusterClusterConfigSoftwareConfig.Builder overrideProperties(Map<String,String> overrideProperties)
Sets the value ofDataprocClusterClusterConfigSoftwareConfig.getOverrideProperties()- Parameters:
overrideProperties- A list of override and additional properties (key/value pairs) used to modify various aspects of the common configuration files used when creating a cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#override_properties DataprocCluster#override_properties}- Returns:
this
-
build
@Stability(Stable) public DataprocClusterClusterConfigSoftwareConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocClusterClusterConfigSoftwareConfig>- Returns:
- a new instance of
DataprocClusterClusterConfigSoftwareConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-