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 Google Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SetLabelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetLabelsRequest |
clone() |
String |
getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
Map<String,String> |
getResourceLabels()
The labels to set for that cluster.
|
SetLabelsRequest |
set(String fieldName,
Object value) |
SetLabelsRequest |
setLabelFingerprint(String labelFingerprint)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
SetLabelsRequest |
setResourceLabels(Map<String,String> resourceLabels)
The labels to set for that cluster.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getLabelFingerprint()
null for nonepublic SetLabelsRequest setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for nonepublic Map<String,String> getResourceLabels()
null for nonepublic SetLabelsRequest setResourceLabels(Map<String,String> resourceLabels)
resourceLabels - resourceLabels or null for nonepublic SetLabelsRequest set(String fieldName, Object value)
set in class GenericJsonpublic SetLabelsRequest clone()
clone in class GenericJson