public final class TargetReference 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 |
---|
TargetReference() |
Modifier and Type | Method and Description |
---|---|
TargetReference |
clone() |
String |
getTarget() |
TargetReference |
set(String fieldName,
Object value) |
TargetReference |
setTarget(String target) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getTarget()
null
for nonepublic TargetReference setTarget(String target)
target
- target or null
for nonepublic TargetReference set(String fieldName, Object value)
set
in class GenericJson
public TargetReference clone()
clone
in class GenericJson