target.apidocs.com.google.api.services.dataproc.model.GkeNodePoolConfig.html Maven / Gradle / Ivy
The newest version!
GkeNodePoolConfig (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class GkeNodePoolConfig
- 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.GkeNodePoolConfig
-
public final class GkeNodePoolConfig
extends com.google.api.client.json.GenericJson
The configuration of a GKE node pool used by a Dataproc-on-GKE cluster
(https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-
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
GkeNodePoolConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GkeNodePoolConfig
clone()
GkeNodePoolAutoscalingConfig
getAutoscaling()
Optional.
GkeNodeConfig
getConfig()
Optional.
List<String>
getLocations()
Optional.
GkeNodePoolConfig
set(String fieldName,
Object value)
GkeNodePoolConfig
setAutoscaling(GkeNodePoolAutoscalingConfig autoscaling)
Optional.
GkeNodePoolConfig
setConfig(GkeNodeConfig config)
Optional.
GkeNodePoolConfig
setLocations(List<String> locations)
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
-
getAutoscaling
public GkeNodePoolAutoscalingConfig getAutoscaling()
Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when
a valid configuration is present.
- Returns:
- value or
null
for none
-
setAutoscaling
public GkeNodePoolConfig setAutoscaling(GkeNodePoolAutoscalingConfig autoscaling)
Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when
a valid configuration is present.
- Parameters:
autoscaling
- autoscaling or null
for none
-
getConfig
public GkeNodeConfig getConfig()
Optional. The node pool configuration.
- Returns:
- value or
null
for none
-
setConfig
public GkeNodePoolConfig setConfig(GkeNodeConfig config)
Optional. The node pool configuration.
- Parameters:
config
- config or null
for none
-
getLocations
public List<String> getLocations()
Optional. The list of Compute Engine zones
(https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a
Dataproc on GKE virtual cluster will be located.Note: All node pools associated with a virtual
cluster must be located in the same region as the virtual cluster, and they must be located in
the same zone within that region.If a location is not specified during node pool creation,
Dataproc on GKE will choose the zone.
- Returns:
- value or
null
for none
-
setLocations
public GkeNodePoolConfig setLocations(List<String> locations)
Optional. The list of Compute Engine zones
(https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a
Dataproc on GKE virtual cluster will be located.Note: All node pools associated with a virtual
cluster must be located in the same region as the virtual cluster, and they must be located in
the same zone within that region.If a location is not specified during node pool creation,
Dataproc on GKE will choose the zone.
- Parameters:
locations
- locations or null
for none
-
set
public GkeNodePoolConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public GkeNodePoolConfig 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