public final class SetLabelsRequest extends GenericJson
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 Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SetLabelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetLabelsRequest |
clone() |
String |
getClusterId()
Deprecated.
|
String |
getLabelFingerprint()
Required.
|
String |
getName()
The name (project, location, cluster id) of the cluster to set labels.
|
String |
getProjectId()
Deprecated.
|
Map<String,String> |
getResourceLabels()
Required.
|
String |
getZone()
Deprecated.
|
SetLabelsRequest |
set(String fieldName,
Object value) |
SetLabelsRequest |
setClusterId(String clusterId)
Deprecated.
|
SetLabelsRequest |
setLabelFingerprint(String labelFingerprint)
Required.
|
SetLabelsRequest |
setName(String name)
The name (project, location, cluster id) of the cluster to set labels.
|
SetLabelsRequest |
setProjectId(String projectId)
Deprecated.
|
SetLabelsRequest |
setResourceLabels(Map<String,String> resourceLabels)
Required.
|
SetLabelsRequest |
setZone(String zone)
Deprecated.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getClusterId()
null for nonepublic SetLabelsRequest setClusterId(String clusterId)
clusterId - clusterId or null for nonepublic String getLabelFingerprint()
null for nonepublic SetLabelsRequest setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for nonepublic String getName()
null for nonepublic SetLabelsRequest setName(String name)
name - name or null for nonepublic String getProjectId()
null for nonepublic SetLabelsRequest setProjectId(String projectId)
projectId - projectId or null for nonepublic Map<String,String> getResourceLabels()
null for nonepublic SetLabelsRequest setResourceLabels(Map<String,String> resourceLabels)
resourceLabels - resourceLabels or null for nonepublic String getZone()
null for nonepublic SetLabelsRequest setZone(String zone)
zone - zone or null for nonepublic SetLabelsRequest set(String fieldName, Object value)
set in class GenericJsonpublic SetLabelsRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.