public final class InstanceMoveRequest
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 |
---|
InstanceMoveRequest() |
Modifier and Type | Method and Description |
---|---|
InstanceMoveRequest |
clone() |
java.lang.String |
getDestinationZone()
The URL of the destination zone to move the instance to.
|
java.lang.String |
getTargetInstance()
The URL of the target instance to move.
|
InstanceMoveRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
InstanceMoveRequest |
setDestinationZone(java.lang.String destinationZone)
The URL of the destination zone to move the instance to.
|
InstanceMoveRequest |
setTargetInstance(java.lang.String targetInstance)
The URL of the target instance to move.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getDestinationZone()
null
for nonepublic InstanceMoveRequest setDestinationZone(java.lang.String destinationZone)
destinationZone
- destinationZone or null
for nonepublic java.lang.String getTargetInstance()
null
for nonepublic InstanceMoveRequest setTargetInstance(java.lang.String targetInstance)
targetInstance
- targetInstance or null
for nonepublic InstanceMoveRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public InstanceMoveRequest clone()
clone
in class com.google.api.client.json.GenericJson