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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Disk() |
Modifier and Type | Method and Description |
---|---|
Disk |
clone() |
String |
getDiskType()
Disk storage type, as defined by Google Compute Engine.
|
String |
getMountPoint()
Directory in a VM where disk is mounted.
|
Integer |
getSizeGb()
Size of disk in GB.
|
Disk |
set(String fieldName,
Object value) |
Disk |
setDiskType(String diskType)
Disk storage type, as defined by Google Compute Engine.
|
Disk |
setMountPoint(String mountPoint)
Directory in a VM where disk is mounted.
|
Disk |
setSizeGb(Integer sizeGb)
Size of disk in GB.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getDiskType()
null
for nonepublic Disk setDiskType(String diskType)
diskType
- diskType or null
for nonepublic String getMountPoint()
null
for nonepublic Disk setMountPoint(String mountPoint)
mountPoint
- mountPoint or null
for nonepublic Integer getSizeGb()
null
for nonepublic Disk setSizeGb(Integer sizeGb)
sizeGb
- sizeGb or null
for nonepublic Disk set(String fieldName, Object value)
set
in class GenericJson
public Disk clone()
clone
in class GenericJson