public final class DiskInstantiationConfig 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 Compute Engine 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 | 
|---|
| DiskInstantiationConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| DiskInstantiationConfig | clone() | 
| Boolean | getAutoDelete()Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the
 disk is detached from the instance). | 
| String | getCustomImage()The custom source image to be used to restore this disk when instantiating this instance
 template. | 
| String | getDeviceName()Specifies the device name of the disk to which the configurations apply to. | 
| String | getInstantiateFrom()Specifies whether to include the disk and what image to use. | 
| DiskInstantiationConfig | set(String fieldName,
   Object value) | 
| DiskInstantiationConfig | setAutoDelete(Boolean autoDelete)Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the
 disk is detached from the instance). | 
| DiskInstantiationConfig | setCustomImage(String customImage)The custom source image to be used to restore this disk when instantiating this instance
 template. | 
| DiskInstantiationConfig | setDeviceName(String deviceName)Specifies the device name of the disk to which the configurations apply to. | 
| DiskInstantiationConfig | setInstantiateFrom(String instantiateFrom)Specifies whether to include the disk and what image to use. | 
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 Boolean getAutoDelete()
null for nonepublic DiskInstantiationConfig setAutoDelete(Boolean autoDelete)
autoDelete - autoDelete or null for nonepublic String getCustomImage()
null for nonepublic DiskInstantiationConfig setCustomImage(String customImage)
customImage - customImage or null for nonepublic String getDeviceName()
null for nonepublic DiskInstantiationConfig setDeviceName(String deviceName)
deviceName - deviceName or null for nonepublic String getInstantiateFrom()
null for nonepublic DiskInstantiationConfig setInstantiateFrom(String instantiateFrom)
instantiateFrom - instantiateFrom or null for nonepublic DiskInstantiationConfig set(String fieldName, Object value)
set in class GenericJsonpublic DiskInstantiationConfig clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.