public final class SetLabelsRequest
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
SetLabelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetLabelsRequest |
clone() |
java.lang.String |
getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
java.util.Map<java.lang.String,java.lang.String> |
getResourceLabels()
The labels to set for that cluster.
|
SetLabelsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
SetLabelsRequest |
setLabelFingerprint(java.lang.String labelFingerprint)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
SetLabelsRequest |
setResourceLabels(java.util.Map<java.lang.String,java.lang.String> resourceLabels)
The labels to set for that cluster.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getLabelFingerprint()
null for nonepublic SetLabelsRequest setLabelFingerprint(java.lang.String labelFingerprint)
labelFingerprint - labelFingerprint or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getResourceLabels()
null for nonepublic SetLabelsRequest setResourceLabels(java.util.Map<java.lang.String,java.lang.String> resourceLabels)
resourceLabels - resourceLabels or null for nonepublic SetLabelsRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SetLabelsRequest clone()
clone in class com.google.api.client.json.GenericJson