Class DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfigbuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.BuilderimageVersion(String imageVersion)DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.BuilderoptionalComponents(List<String> optionalComponents)DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builderproperties(Map<String,String> properties)
-
-
-
Method Detail
-
imageVersion
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builder imageVersion(String imageVersion)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.getImageVersion()- Parameters:
imageVersion- Optional. The version of software inside the cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the ["preview" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#image_version DataprocWorkflowTemplate#image_version}- Returns:
this
-
optionalComponents
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builder optionalComponents(List<String> optionalComponents)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.getOptionalComponents()- Parameters:
optionalComponents- Optional. The set of components to activate on the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#optional_components DataprocWorkflowTemplate#optional_components}- Returns:
this
-
properties
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.Builder properties(Map<String,String> properties)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.getProperties()- Parameters:
properties- Optional. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. The following are supported prefixes and their mappings: * capacity-scheduler: `capacity-scheduler.xml` * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml` * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#properties DataprocWorkflowTemplate#properties}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigSoftwareConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-