public final class SavedAttachedDisk 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 Compute Engine 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 | 
|---|
SavedAttachedDisk()  | 
| Modifier and Type | Method and Description | 
|---|---|
SavedAttachedDisk | 
clone()  | 
Boolean | 
getAutoDelete()
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the
 disk is detached from the instance). 
 | 
Boolean | 
getBoot()
Indicates that this is a boot disk. 
 | 
String | 
getDeviceName()
Specifies the name of the disk attached to the source instance. 
 | 
CustomerEncryptionKey | 
getDiskEncryptionKey()
The encryption key for the disk. 
 | 
Long | 
getDiskSizeGb()
The size of the disk in base-2 GB. 
 | 
String | 
getDiskType()
[Output Only] URL of the disk type resource. 
 | 
List<GuestOsFeature> | 
getGuestOsFeatures()
A list of features to enable on the guest operating system. 
 | 
Integer | 
getIndex()
Specifies zero-based index of the disk that is attached to the source instance. 
 | 
String | 
getInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. 
 | 
String | 
getKind()
[Output Only] Type of the resource. 
 | 
List<String> | 
getLicenses()
[Output Only] Any valid publicly visible licenses. 
 | 
String | 
getMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. 
 | 
String | 
getSource()
Specifies a URL of the disk attached to the source instance. 
 | 
Long | 
getStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image. 
 | 
String | 
getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as
 a result of shared storage reallocation. 
 | 
String | 
getType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. 
 | 
SavedAttachedDisk | 
set(String fieldName,
   Object value)  | 
SavedAttachedDisk | 
setAutoDelete(Boolean autoDelete)
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the
 disk is detached from the instance). 
 | 
SavedAttachedDisk | 
setBoot(Boolean boot)
Indicates that this is a boot disk. 
 | 
SavedAttachedDisk | 
setDeviceName(String deviceName)
Specifies the name of the disk attached to the source instance. 
 | 
SavedAttachedDisk | 
setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey)
The encryption key for the disk. 
 | 
SavedAttachedDisk | 
setDiskSizeGb(Long diskSizeGb)
The size of the disk in base-2 GB. 
 | 
SavedAttachedDisk | 
setDiskType(String diskType)
[Output Only] URL of the disk type resource. 
 | 
SavedAttachedDisk | 
setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
A list of features to enable on the guest operating system. 
 | 
SavedAttachedDisk | 
setIndex(Integer index)
Specifies zero-based index of the disk that is attached to the source instance. 
 | 
SavedAttachedDisk | 
setInterface(String interface__)
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. 
 | 
SavedAttachedDisk | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
SavedAttachedDisk | 
setLicenses(List<String> licenses)
[Output Only] Any valid publicly visible licenses. 
 | 
SavedAttachedDisk | 
setMode(String mode)
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. 
 | 
SavedAttachedDisk | 
setSource(String source)
Specifies a URL of the disk attached to the source instance. 
 | 
SavedAttachedDisk | 
setStorageBytes(Long storageBytes)
[Output Only] A size of the storage used by the disk's snapshot by this machine image. 
 | 
SavedAttachedDisk | 
setStorageBytesStatus(String storageBytesStatus)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as
 a result of shared storage reallocation. 
 | 
SavedAttachedDisk | 
setType(String type)
Specifies the type of the attached 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 SavedAttachedDisk setAutoDelete(Boolean autoDelete)
autoDelete - autoDelete or null for nonepublic Boolean getBoot()
null for nonepublic SavedAttachedDisk setBoot(Boolean boot)
boot - boot or null for nonepublic String getDeviceName()
null for nonepublic SavedAttachedDisk setDeviceName(String deviceName)
deviceName - deviceName or null for nonepublic CustomerEncryptionKey getDiskEncryptionKey()
null for nonepublic SavedAttachedDisk setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey)
diskEncryptionKey - diskEncryptionKey or null for nonepublic Long getDiskSizeGb()
null for nonepublic SavedAttachedDisk setDiskSizeGb(Long diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic String getDiskType()
null for nonepublic SavedAttachedDisk setDiskType(String diskType)
diskType - diskType or null for nonepublic List<GuestOsFeature> getGuestOsFeatures()
null for nonepublic SavedAttachedDisk setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
guestOsFeatures - guestOsFeatures or null for nonepublic Integer getIndex()
null for nonepublic SavedAttachedDisk setIndex(Integer index)
index - index or null for nonepublic String getInterface()
null for nonepublic SavedAttachedDisk setInterface(String interface__)
interface__ - interface__ or null for nonepublic String getKind()
null for nonepublic SavedAttachedDisk setKind(String kind)
kind - kind or null for nonepublic List<String> getLicenses()
null for nonepublic SavedAttachedDisk setLicenses(List<String> licenses)
licenses - licenses or null for nonepublic String getMode()
null for nonepublic SavedAttachedDisk setMode(String mode)
mode - mode or null for nonepublic String getSource()
null for nonepublic SavedAttachedDisk setSource(String source)
source - source or null for nonepublic Long getStorageBytes()
null for nonepublic SavedAttachedDisk setStorageBytes(Long storageBytes)
storageBytes - storageBytes or null for nonepublic String getStorageBytesStatus()
null for nonepublic SavedAttachedDisk setStorageBytesStatus(String storageBytesStatus)
storageBytesStatus - storageBytesStatus or null for nonepublic String getType()
null for nonepublic SavedAttachedDisk setType(String type)
type - type or null for nonepublic SavedAttachedDisk set(String fieldName, Object value)
set in class GenericJsonpublic SavedAttachedDisk clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.