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: https://developers.google.com/api-client-library/java/google-http-java-client/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.
|
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.
|
InstanceMoveRequest |
setTargetInstance(java.lang.String targetInstance)
The URL of the target instance to move.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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.GenericJsonpublic InstanceMoveRequest clone()
clone in class com.google.api.client.json.GenericJson