public final class AttachedDiskInitializeParams 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 | 
|---|
| AttachedDiskInitializeParams() | 
| Modifier and Type | Method and Description | 
|---|---|
| AttachedDiskInitializeParams | clone() | 
| String | getArchitecture()The architecture of the attached disk. | 
| String | getDescription()An optional description. | 
| String | getDiskName()Specifies the disk name. | 
| Long | getDiskSizeGb()Specifies the size of the disk in base-2 GB. | 
| String | getDiskType()Specifies the disk type to use to create the instance. | 
| List<GuestOsFeature> | getGuestOsFeatures()A list of features to enable on the guest operating system. | 
| Map<String,String> | getLabels()Labels to apply to this disk. | 
| List<String> | getLicenses()A list of publicly visible licenses. | 
| Boolean | getMultiWriter()Indicates whether or not the disk can be read/write attached to more than one instance. | 
| String | getOnUpdateAction()Specifies which action to take on instance update with this disk. | 
| Long | getProvisionedIops()Indicates how many IOPS to provision for the disk. | 
| Map<String,String> | getResourceManagerTags()Resource manager tags to be bound to the disk. | 
| List<String> | getResourcePolicies()Resource policies applied to this disk for automatic snapshot creations. | 
| String | getSourceImage()The source image to create this disk. | 
| CustomerEncryptionKey | getSourceImageEncryptionKey()The customer-supplied encryption key of the source image. | 
| String | getSourceSnapshot()The source snapshot to create this disk. | 
| CustomerEncryptionKey | getSourceSnapshotEncryptionKey()The customer-supplied encryption key of the source snapshot. | 
| AttachedDiskInitializeParams | set(String fieldName,
   Object value) | 
| AttachedDiskInitializeParams | setArchitecture(String architecture)The architecture of the attached disk. | 
| AttachedDiskInitializeParams | setDescription(String description)An optional description. | 
| AttachedDiskInitializeParams | setDiskName(String diskName)Specifies the disk name. | 
| AttachedDiskInitializeParams | setDiskSizeGb(Long diskSizeGb)Specifies the size of the disk in base-2 GB. | 
| AttachedDiskInitializeParams | setDiskType(String diskType)Specifies the disk type to use to create the instance. | 
| AttachedDiskInitializeParams | setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)A list of features to enable on the guest operating system. | 
| AttachedDiskInitializeParams | setLabels(Map<String,String> labels)Labels to apply to this disk. | 
| AttachedDiskInitializeParams | setLicenses(List<String> licenses)A list of publicly visible licenses. | 
| AttachedDiskInitializeParams | setMultiWriter(Boolean multiWriter)Indicates whether or not the disk can be read/write attached to more than one instance. | 
| AttachedDiskInitializeParams | setOnUpdateAction(String onUpdateAction)Specifies which action to take on instance update with this disk. | 
| AttachedDiskInitializeParams | setProvisionedIops(Long provisionedIops)Indicates how many IOPS to provision for the disk. | 
| AttachedDiskInitializeParams | setResourceManagerTags(Map<String,String> resourceManagerTags)Resource manager tags to be bound to the disk. | 
| AttachedDiskInitializeParams | setResourcePolicies(List<String> resourcePolicies)Resource policies applied to this disk for automatic snapshot creations. | 
| AttachedDiskInitializeParams | setSourceImage(String sourceImage)The source image to create this disk. | 
| AttachedDiskInitializeParams | setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey)The customer-supplied encryption key of the source image. | 
| AttachedDiskInitializeParams | setSourceSnapshot(String sourceSnapshot)The source snapshot to create this disk. | 
| AttachedDiskInitializeParams | setSourceSnapshotEncryptionKey(CustomerEncryptionKey sourceSnapshotEncryptionKey)The customer-supplied encryption key of the source snapshot. | 
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 getArchitecture()
null for nonepublic AttachedDiskInitializeParams setArchitecture(String architecture)
architecture - architecture or null for nonepublic String getDescription()
null for nonepublic AttachedDiskInitializeParams setDescription(String description)
description - description or null for nonepublic String getDiskName()
null for nonepublic AttachedDiskInitializeParams setDiskName(String diskName)
diskName - diskName or null for nonepublic Long getDiskSizeGb()
null for nonepublic AttachedDiskInitializeParams setDiskSizeGb(Long diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic String getDiskType()
null for nonepublic AttachedDiskInitializeParams setDiskType(String diskType)
diskType - diskType or null for nonepublic List<GuestOsFeature> getGuestOsFeatures()
null for nonepublic AttachedDiskInitializeParams setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
guestOsFeatures - guestOsFeatures or null for nonepublic Map<String,String> getLabels()
null for nonepublic AttachedDiskInitializeParams setLabels(Map<String,String> labels)
labels - labels or null for nonepublic List<String> getLicenses()
null for nonepublic AttachedDiskInitializeParams setLicenses(List<String> licenses)
licenses - licenses or null for nonepublic Boolean getMultiWriter()
null for nonepublic AttachedDiskInitializeParams setMultiWriter(Boolean multiWriter)
multiWriter - multiWriter or null for nonepublic String getOnUpdateAction()
null for nonepublic AttachedDiskInitializeParams setOnUpdateAction(String onUpdateAction)
onUpdateAction - onUpdateAction or null for nonepublic Long getProvisionedIops()
null for nonepublic AttachedDiskInitializeParams setProvisionedIops(Long provisionedIops)
provisionedIops - provisionedIops or null for nonepublic Map<String,String> getResourceManagerTags()
null for nonepublic AttachedDiskInitializeParams setResourceManagerTags(Map<String,String> resourceManagerTags)
resourceManagerTags - resourceManagerTags or null for nonepublic List<String> getResourcePolicies()
null for nonepublic AttachedDiskInitializeParams setResourcePolicies(List<String> resourcePolicies)
resourcePolicies - resourcePolicies or null for nonepublic String getSourceImage()
null for nonepublic AttachedDiskInitializeParams setSourceImage(String sourceImage)
sourceImage - sourceImage or null for nonepublic CustomerEncryptionKey getSourceImageEncryptionKey()
null for nonepublic AttachedDiskInitializeParams setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey)
sourceImageEncryptionKey - sourceImageEncryptionKey or null for nonepublic String getSourceSnapshot()
null for nonepublic AttachedDiskInitializeParams setSourceSnapshot(String sourceSnapshot)
sourceSnapshot - sourceSnapshot or null for nonepublic CustomerEncryptionKey getSourceSnapshotEncryptionKey()
null for nonepublic AttachedDiskInitializeParams setSourceSnapshotEncryptionKey(CustomerEncryptionKey sourceSnapshotEncryptionKey)
sourceSnapshotEncryptionKey - sourceSnapshotEncryptionKey or null for nonepublic AttachedDiskInitializeParams set(String fieldName, Object value)
set in class GenericJsonpublic AttachedDiskInitializeParams clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.