target.apidocs.com.google.api.services.dataproc.model.GkeNodePoolTarget.html Maven / Gradle / Ivy
GkeNodePoolTarget (Cloud Dataproc API v1-rev20240605-2.0.0)
com.google.api.services.dataproc.model
Class GkeNodePoolTarget
- 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.GkeNodePoolTarget
-
public final class GkeNodePoolTarget
extends com.google.api.client.json.GenericJson
GKE node pools that Dataproc workloads run on.
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
GkeNodePoolTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GkeNodePoolTarget
clone()
String
getNodePool()
Required.
GkeNodePoolConfig
getNodePoolConfig()
Input only.
List<String>
getRoles()
Required.
GkeNodePoolTarget
set(String fieldName,
Object value)
GkeNodePoolTarget
setNodePool(String nodePool)
Required.
GkeNodePoolTarget
setNodePoolConfig(GkeNodePoolConfig nodePoolConfig)
Input only.
GkeNodePoolTarget
setRoles(List<String> roles)
Required.
-
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
-
getNodePool
public String getNodePool()
Required. The target GKE node pool. Format:
'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
- Returns:
- value or
null
for none
-
setNodePool
public GkeNodePoolTarget setNodePool(String nodePool)
Required. The target GKE node pool. Format:
'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
- Parameters:
nodePool
- nodePool or null
for none
-
getNodePoolConfig
public GkeNodePoolConfig getNodePoolConfig()
Input only. The configuration for the GKE node pool.If specified, Dataproc attempts to create a
node pool with the specified shape. If one with the same name already exists, it is verified
against all specified fields. If a field differs, the virtual cluster creation will fail.If
omitted, any node pool with the specified name is used. If a node pool with the specified name
does not exist, Dataproc create a node pool with default values.This is an input only field. It
will not be returned by the API.
- Returns:
- value or
null
for none
-
setNodePoolConfig
public GkeNodePoolTarget setNodePoolConfig(GkeNodePoolConfig nodePoolConfig)
Input only. The configuration for the GKE node pool.If specified, Dataproc attempts to create a
node pool with the specified shape. If one with the same name already exists, it is verified
against all specified fields. If a field differs, the virtual cluster creation will fail.If
omitted, any node pool with the specified name is used. If a node pool with the specified name
does not exist, Dataproc create a node pool with default values.This is an input only field. It
will not be returned by the API.
- Parameters:
nodePoolConfig
- nodePoolConfig or null
for none
-
getRoles
public List<String> getRoles()
Required. The roles associated with the GKE node pool.
- Returns:
- value or
null
for none
-
setRoles
public GkeNodePoolTarget setRoles(List<String> roles)
Required. The roles associated with the GKE node pool.
- Parameters:
roles
- roles or null
for none
-
set
public GkeNodePoolTarget set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public GkeNodePoolTarget 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