target.apidocs.com.google.api.services.dataproc.model.RepairClusterRequest.html Maven / Gradle / Ivy
RepairClusterRequest (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class RepairClusterRequest
- 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.RepairClusterRequest
-
public final class RepairClusterRequest
extends com.google.api.client.json.GenericJson
A request to repair a 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
RepairClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RepairClusterRequest
clone()
ClusterToRepair
getCluster()
Optional.
String
getClusterUuid()
Optional.
String
getGracefulDecommissionTimeout()
Optional.
List<NodePool>
getNodePools()
Optional.
String
getParentOperationId()
Optional.
String
getRequestId()
Optional.
RepairClusterRequest
set(String fieldName,
Object value)
RepairClusterRequest
setCluster(ClusterToRepair cluster)
Optional.
RepairClusterRequest
setClusterUuid(String clusterUuid)
Optional.
RepairClusterRequest
setGracefulDecommissionTimeout(String gracefulDecommissionTimeout)
Optional.
RepairClusterRequest
setNodePools(List<NodePool> nodePools)
Optional.
RepairClusterRequest
setParentOperationId(String parentOperationId)
Optional.
RepairClusterRequest
setRequestId(String requestId)
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
-
getCluster
public ClusterToRepair getCluster()
Optional. Cluster to be repaired
- Returns:
- value or
null
for none
-
setCluster
public RepairClusterRequest setCluster(ClusterToRepair cluster)
Optional. Cluster to be repaired
- Parameters:
cluster
- cluster or null
for none
-
getClusterUuid
public String getClusterUuid()
Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a
cluster with the specified UUID does not exist.
- Returns:
- value or
null
for none
-
setClusterUuid
public RepairClusterRequest setClusterUuid(String clusterUuid)
Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a
cluster with the specified UUID does not exist.
- Parameters:
clusterUuid
- clusterUuid or null
for none
-
getGracefulDecommissionTimeout
public String getGracefulDecommissionTimeout()
Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the
removal of cluster nodes without interrupting jobs in progress. The timeout specifies the
amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is
0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON
Mapping—Duration (https://developers.google.com/protocol-
buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image
versions 1.2+.
- Returns:
- value or
null
for none
-
setGracefulDecommissionTimeout
public RepairClusterRequest setGracefulDecommissionTimeout(String gracefulDecommissionTimeout)
Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the
removal of cluster nodes without interrupting jobs in progress. The timeout specifies the
amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is
0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON
Mapping—Duration (https://developers.google.com/protocol-
buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image
versions 1.2+.
- Parameters:
gracefulDecommissionTimeout
- gracefulDecommissionTimeout or null
for none
-
getNodePools
public List<NodePool> getNodePools()
Optional. Node pools and corresponding repair action to be taken. All node pools should be
unique in this request. i.e. Multiple entries for the same node pool id are not allowed.
- Returns:
- value or
null
for none
-
setNodePools
public RepairClusterRequest setNodePools(List<NodePool> nodePools)
Optional. Node pools and corresponding repair action to be taken. All node pools should be
unique in this request. i.e. Multiple entries for the same node pool id are not allowed.
- Parameters:
nodePools
- nodePools or null
for none
-
getParentOperationId
public String getParentOperationId()
Optional. operation id of the parent operation sending the repair request
- Returns:
- value or
null
for none
-
setParentOperationId
public RepairClusterRequest setParentOperationId(String parentOperationId)
Optional. operation id of the parent operation sending the repair request
- Parameters:
parentOperationId
- parentOperationId or null
for none
-
getRequestId
public String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two
RepairClusterRequests with the same ID, the second request is ignored, and the first
google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set
this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must
contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum
length is 40 characters.
- Returns:
- value or
null
for none
-
setRequestId
public RepairClusterRequest setRequestId(String requestId)
Optional. A unique ID used to identify the request. If the server receives two
RepairClusterRequests with the same ID, the second request is ignored, and the first
google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set
this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must
contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum
length is 40 characters.
- Parameters:
requestId
- requestId or null
for none
-
set
public RepairClusterRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RepairClusterRequest 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