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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
InstanceReference() |
Modifier and Type | Method and Description |
---|---|
InstanceReference |
clone() |
java.lang.String |
getInstance()
The URL for a specific instance.
|
InstanceReference |
set(java.lang.String fieldName,
java.lang.Object value) |
InstanceReference |
setInstance(java.lang.String instance)
The URL for a specific 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