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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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
Copyright © 2011–2019 Google. All rights reserved.