public final class InstancesSetMachineTypeRequest
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 |
|---|
InstancesSetMachineTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
InstancesSetMachineTypeRequest |
clone() |
java.lang.String |
getMachineType()
Full or partial URL of the machine type resource.
|
InstancesSetMachineTypeRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
InstancesSetMachineTypeRequest |
setMachineType(java.lang.String machineType)
Full or partial URL of the machine type resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getMachineType()
null for nonepublic InstancesSetMachineTypeRequest setMachineType(java.lang.String machineType)
machineType - machineType or null for nonepublic InstancesSetMachineTypeRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic InstancesSetMachineTypeRequest clone()
clone in class com.google.api.client.json.GenericJson