target.apidocs.com.google.api.services.dataproc.model.ManagedCluster.html Maven / Gradle / Ivy
ManagedCluster (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class ManagedCluster
- 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.ManagedCluster
-
public final class ManagedCluster
extends com.google.api.client.json.GenericJson
Cluster that is managed by the workflow.
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
ManagedCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ManagedCluster
clone()
String
getClusterName()
Required.
ClusterConfig
getConfig()
Required.
Map<String,String>
getLabels()
Optional.
ManagedCluster
set(String fieldName,
Object value)
ManagedCluster
setClusterName(String clusterName)
Required.
ManagedCluster
setConfig(ClusterConfig config)
Required.
ManagedCluster
setLabels(Map<String,String> labels)
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
-
getClusterName
public String getClusterName()
Required. The cluster name prefix. A unique cluster name will be formed by appending a random
suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-).
Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35
characters.
- Returns:
- value or
null
for none
-
setClusterName
public ManagedCluster setClusterName(String clusterName)
Required. The cluster name prefix. A unique cluster name will be formed by appending a random
suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-).
Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35
characters.
- Parameters:
clusterName
- clusterName or null
for none
-
getConfig
public ClusterConfig getConfig()
Required. The cluster configuration.
- Returns:
- value or
null
for none
-
setConfig
public ManagedCluster setConfig(ClusterConfig config)
Required. The cluster configuration.
- Parameters:
config
- config or null
for none
-
getLabels
public Map<String,String> getLabels()
Optional. The labels to associate with this cluster.Label keys must be between 1 and 63
characters long, and must conform to the following PCRE regular expression:
\p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to
the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be
associated with a given cluster.
- Returns:
- value or
null
for none
-
setLabels
public ManagedCluster setLabels(Map<String,String> labels)
Optional. The labels to associate with this cluster.Label keys must be between 1 and 63
characters long, and must conform to the following PCRE regular expression:
\p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to
the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be
associated with a given cluster.
- Parameters:
labels
- labels or null
for none
-
set
public ManagedCluster set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ManagedCluster 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