public final class VmCreationConfig 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 Database Migration API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VmCreationConfig() |
| Modifier and Type | Method and Description |
|---|---|
VmCreationConfig |
clone() |
String |
getSubnet()
The subnet name the vm needs to be created in.
|
String |
getVmMachineType()
Required.
|
String |
getVmZone()
The Google Cloud Platform zone to create the VM in.
|
VmCreationConfig |
set(String fieldName,
Object value) |
VmCreationConfig |
setSubnet(String subnet)
The subnet name the vm needs to be created in.
|
VmCreationConfig |
setVmMachineType(String vmMachineType)
Required.
|
VmCreationConfig |
setVmZone(String vmZone)
The Google Cloud Platform zone to create the VM in.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getSubnet()
null for nonepublic VmCreationConfig setSubnet(String subnet)
subnet - subnet or null for nonepublic String getVmMachineType()
null for nonepublic VmCreationConfig setVmMachineType(String vmMachineType)
vmMachineType - vmMachineType or null for nonepublic String getVmZone()
null for nonepublic VmCreationConfig setVmZone(String vmZone)
vmZone - vmZone or null for nonepublic VmCreationConfig set(String fieldName, Object value)
set in class GenericJsonpublic VmCreationConfig clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.