public final class InstanceReference 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 Compute Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
InstanceReference() |
Modifier and Type | Method and Description |
---|---|
InstanceReference |
clone() |
String |
getInstance() |
InstanceReference |
set(String fieldName,
Object value) |
InstanceReference |
setInstance(String instance) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getInstance()
null
for nonepublic InstanceReference setInstance(String instance)
instance
- instance or null
for nonepublic InstanceReference set(String fieldName, Object value)
set
in class GenericJson
public InstanceReference clone()
clone
in class GenericJson