public final class TargetPoolsAddInstanceRequest 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 |
---|
TargetPoolsAddInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
TargetPoolsAddInstanceRequest |
clone() |
List<InstanceReference> |
getInstances()
URLs of the instances to be added to targetPool.
|
TargetPoolsAddInstanceRequest |
set(String fieldName,
Object value) |
TargetPoolsAddInstanceRequest |
setInstances(List<InstanceReference> instances)
URLs of the instances to be added to targetPool.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<InstanceReference> getInstances()
null
for nonepublic TargetPoolsAddInstanceRequest setInstances(List<InstanceReference> instances)
instances
- instances or null
for nonepublic TargetPoolsAddInstanceRequest set(String fieldName, Object value)
set
in class GenericJson
public TargetPoolsAddInstanceRequest clone()
clone
in class GenericJson