public final class InstanceReference
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 Compute 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 |
---|
InstanceReference() |
Modifier and Type | Method and Description |
---|---|
InstanceReference |
clone() |
java.lang.String |
getInstance() |
InstanceReference |
set(java.lang.String fieldName,
java.lang.Object value) |
InstanceReference |
setInstance(java.lang.String instance) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getInstance()
null
for nonepublic InstanceReference setInstance(java.lang.String instance)
instance
- instance or null
for nonepublic InstanceReference set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public InstanceReference clone()
clone
in class com.google.api.client.json.GenericJson