target.apidocs.com.google.api.services.dataproc.model.NodeGroup.html Maven / Gradle / Ivy
NodeGroup (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class NodeGroup
- 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.NodeGroup
-
public final class NodeGroup
extends com.google.api.client.json.GenericJson
Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc
NodeGroupAffinity resource.
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
NodeGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
NodeGroup
clone()
Map<String,String>
getLabels()
Optional.
String
getName()
The Node group resource name (https://aip.dev/122).
InstanceGroupConfig
getNodeGroupConfig()
Optional.
List<String>
getRoles()
Required.
NodeGroup
set(String fieldName,
Object value)
NodeGroup
setLabels(Map<String,String> labels)
Optional.
NodeGroup
setName(String name)
The Node group resource name (https://aip.dev/122).
NodeGroup
setNodeGroupConfig(InstanceGroupConfig nodeGroupConfig)
Optional.
NodeGroup
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
-
getLabels
public Map<String,String> getLabels()
Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to
RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they
must consist of from 1 to 63 characters and conform to RFC 1035
(https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels.
- Returns:
- value or
null
for none
-
setLabels
public NodeGroup setLabels(Map<String,String> labels)
Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to
RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they
must consist of from 1 to 63 characters and conform to RFC 1035
(https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels.
- Parameters:
labels
- labels or null
for none
-
getName
public String getName()
The Node group resource name (https://aip.dev/122).
- Returns:
- value or
null
for none
-
setName
public NodeGroup setName(String name)
The Node group resource name (https://aip.dev/122).
- Parameters:
name
- name or null
for none
-
getNodeGroupConfig
public InstanceGroupConfig getNodeGroupConfig()
Optional. The node group instance group configuration.
- Returns:
- value or
null
for none
-
setNodeGroupConfig
public NodeGroup setNodeGroupConfig(InstanceGroupConfig nodeGroupConfig)
Optional. The node group instance group configuration.
- Parameters:
nodeGroupConfig
- nodeGroupConfig or null
for none
-
setRoles
public NodeGroup setRoles(List<String> roles)
Required. Node group roles.
- Parameters:
roles
- roles or null
for none
-
set
public NodeGroup set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public NodeGroup 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