public final class Reference 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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Reference() |
| Modifier and Type | Method and Description |
|---|---|
Reference |
clone() |
String |
getKind()
[Output Only] Type of the resource.
|
String |
getReferenceType()
A description of the reference type with no implied semantics.
|
String |
getReferrer()
URL of the resource which refers to the target.
|
String |
getTarget()
URL of the resource to which this reference points.
|
Reference |
set(String fieldName,
Object value) |
Reference |
setKind(String kind)
[Output Only] Type of the resource.
|
Reference |
setReferenceType(String referenceType)
A description of the reference type with no implied semantics.
|
Reference |
setReferrer(String referrer)
URL of the resource which refers to the target.
|
Reference |
setTarget(String target)
URL of the resource to which this reference points.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getKind()
null for nonepublic Reference setKind(String kind)
kind - kind or null for nonepublic String getReferenceType()
null for nonepublic Reference setReferenceType(String referenceType)
referenceType - referenceType or null for nonepublic String getReferrer()
null for nonepublic Reference setReferrer(String referrer)
referrer - referrer or null for nonepublic String getTarget()
null for nonepublic Reference setTarget(String target)
target - target or null for nonepublic Reference set(String fieldName, Object value)
set in class GenericJsonpublic Reference clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.