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