target.apidocs.com.google.api.services.dataproc.model.SoftwareConfig.html Maven / Gradle / Ivy
SoftwareConfig (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class SoftwareConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataproc.model.SoftwareConfig
-
public final class SoftwareConfig
extends com.google.api.client.json.GenericJson
Specifies the selection and config of software inside the cluster.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud Dataproc API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SoftwareConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SoftwareConfig
clone()
String
getImageVersion()
Optional.
List<String>
getOptionalComponents()
Optional.
Map<String,String>
getProperties()
Optional.
SoftwareConfig
set(String fieldName,
Object value)
SoftwareConfig
setImageVersion(String imageVersion)
Optional.
SoftwareConfig
setOptionalComponents(List<String> optionalComponents)
Optional.
SoftwareConfig
setProperties(Map<String,String> properties)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getImageVersion
public String getImageVersion()
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-image-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.
- Returns:
- value or
null
for none
-
setImageVersion
public SoftwareConfig setImageVersion(String 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-image-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.
- Parameters:
imageVersion
- imageVersion or null
for none
-
getOptionalComponents
public List<String> getOptionalComponents()
Optional. The set of components to activate on the cluster.
- Returns:
- value or
null
for none
-
setOptionalComponents
public SoftwareConfig setOptionalComponents(List<String> optionalComponents)
Optional. The set of components to activate on the cluster.
- Parameters:
optionalComponents
- optionalComponents or null
for none
-
getProperties
public Map<String,String> getProperties()
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.xmlFor more information, see Cluster
properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
- Returns:
- value or
null
for none
-
setProperties
public SoftwareConfig setProperties(Map<String,String> 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.xmlFor more information, see Cluster
properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
- Parameters:
properties
- properties or null
for none
-
set
public SoftwareConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SoftwareConfig clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy