public final class TargetPoolsAddInstanceRequest
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 |
---|
TargetPoolsAddInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
TargetPoolsAddInstanceRequest |
clone() |
java.util.List<InstanceReference> |
getInstances()
URLs of the instances to be added to targetPool.
|
TargetPoolsAddInstanceRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
TargetPoolsAddInstanceRequest |
setInstances(java.util.List<InstanceReference> instances)
URLs of the instances to be added to targetPool.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<InstanceReference> getInstances()
null
for nonepublic TargetPoolsAddInstanceRequest setInstances(java.util.List<InstanceReference> instances)
instances
- instances or null
for nonepublic TargetPoolsAddInstanceRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TargetPoolsAddInstanceRequest clone()
clone
in class com.google.api.client.json.GenericJson