public final class LocalDisk 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 Notebooks 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 |
|---|
LocalDisk() |
| Modifier and Type | Method and Description |
|---|---|
LocalDisk |
clone() |
Boolean |
getAutoDelete()
Optional.
|
Boolean |
getBoot()
Optional.
|
String |
getDeviceName()
Optional.
|
List<RuntimeGuestOsFeature> |
getGuestOsFeatures()
Output only.
|
Integer |
getIndex()
Output only.
|
LocalDiskInitializeParams |
getInitializeParams()
Input only.
|
String |
getInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
String |
getKind()
Output only.
|
List<String> |
getLicenses()
Output only.
|
String |
getMode()
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
String |
getSource()
Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
String |
getType()
Specifies the type of the disk, either SCRATCH or PERSISTENT.
|
LocalDisk |
set(String fieldName,
Object value) |
LocalDisk |
setAutoDelete(Boolean autoDelete)
Optional.
|
LocalDisk |
setBoot(Boolean boot)
Optional.
|
LocalDisk |
setDeviceName(String deviceName)
Optional.
|
LocalDisk |
setGuestOsFeatures(List<RuntimeGuestOsFeature> guestOsFeatures)
Output only.
|
LocalDisk |
setIndex(Integer index)
Output only.
|
LocalDisk |
setInitializeParams(LocalDiskInitializeParams initializeParams)
Input only.
|
LocalDisk |
setInterface(String interface__)
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
LocalDisk |
setKind(String kind)
Output only.
|
LocalDisk |
setLicenses(List<String> licenses)
Output only.
|
LocalDisk |
setMode(String mode)
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
LocalDisk |
setSource(String source)
Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
LocalDisk |
setType(String type)
Specifies the type of the disk, either SCRATCH or PERSISTENT.
|
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 LocalDisk setAutoDelete(Boolean autoDelete)
autoDelete - autoDelete or null for nonepublic Boolean getBoot()
null for nonepublic LocalDisk setBoot(Boolean boot)
boot - boot or null for nonepublic String getDeviceName()
null for nonepublic LocalDisk setDeviceName(String deviceName)
deviceName - deviceName or null for nonepublic List<RuntimeGuestOsFeature> getGuestOsFeatures()
null for nonepublic LocalDisk setGuestOsFeatures(List<RuntimeGuestOsFeature> guestOsFeatures)
guestOsFeatures - guestOsFeatures or null for nonepublic Integer getIndex()
null for nonepublic LocalDisk setIndex(Integer index)
index - index or null for nonepublic LocalDiskInitializeParams getInitializeParams()
null for nonepublic LocalDisk setInitializeParams(LocalDiskInitializeParams initializeParams)
initializeParams - initializeParams or null for nonepublic String getInterface()
null for nonepublic LocalDisk setInterface(String interface__)
interface__ - interface__ or null for nonepublic String getKind()
null for nonepublic LocalDisk setKind(String kind)
kind - kind or null for nonepublic List<String> getLicenses()
null for nonepublic LocalDisk setLicenses(List<String> licenses)
licenses - licenses or null for nonepublic String getMode()
null for nonepublic LocalDisk setMode(String mode)
mode - mode or null for nonepublic String getSource()
null for nonepublic LocalDisk setSource(String source)
source - source or null for nonepublic String getType()
null for nonepublic LocalDisk setType(String type)
type - type or null for nonepublic LocalDisk set(String fieldName, Object value)
set in class GenericJsonpublic LocalDisk clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.