public final class PersistentDisk 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 Cloud Life Sciences 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 |
|---|
PersistentDisk() |
| Modifier and Type | Method and Description |
|---|---|
PersistentDisk |
clone() |
Integer |
getSizeGb()
The size, in GB, of the disk to attach.
|
String |
getSourceImage()
An image to put on the disk before attaching it to the VM.
|
String |
getType()
The Compute Engine disk type.
|
PersistentDisk |
set(String fieldName,
Object value) |
PersistentDisk |
setSizeGb(Integer sizeGb)
The size, in GB, of the disk to attach.
|
PersistentDisk |
setSourceImage(String sourceImage)
An image to put on the disk before attaching it to the VM.
|
PersistentDisk |
setType(String type)
The Compute Engine disk type.
|
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 Integer getSizeGb()
null for nonepublic PersistentDisk setSizeGb(Integer sizeGb)
sizeGb - sizeGb or null for nonepublic String getSourceImage()
null for nonepublic PersistentDisk setSourceImage(String sourceImage)
sourceImage - sourceImage or null for nonepublic String getType()
null for nonepublic PersistentDisk setType(String type)
type - type or null for nonepublic PersistentDisk set(String fieldName, Object value)
set in class GenericJsonpublic PersistentDisk clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.