target.apidocs.com.google.api.services.dataproc.model.StopClusterRequest.html Maven / Gradle / Ivy
StopClusterRequest (Cloud Dataproc API v1-rev20240605-2.0.0)
com.google.api.services.dataproc.model
Class StopClusterRequest
- 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.StopClusterRequest
-
public final class StopClusterRequest
extends com.google.api.client.json.GenericJson
A request to stop 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
StopClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
StopClusterRequest
clone()
String
getClusterUuid()
Optional.
String
getRequestId()
Optional.
StopClusterRequest
set(String fieldName,
Object value)
StopClusterRequest
setClusterUuid(String clusterUuid)
Optional.
StopClusterRequest
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
-
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 StopClusterRequest 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
-
getRequestId
public String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two
StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.
v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will
be 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 StopClusterRequest setRequestId(String requestId)
Optional. A unique ID used to identify the request. If the server receives two
StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.
v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will
be 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 StopClusterRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public StopClusterRequest 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