public static final class AttachedDisk.PersistentDiskConfiguration extends AttachedDisk.AttachedDiskConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
AttachedDisk.PersistentDiskConfiguration.Builder
A builder for
PersistentDiskConfiguration objects. |
static class |
AttachedDisk.PersistentDiskConfiguration.Mode
Specifies the mode in which to attach the disk.
|
AttachedDisk.AttachedDiskConfiguration.InterfaceType, AttachedDisk.AttachedDiskConfiguration.Type| Modifier and Type | Method and Description |
|---|---|
static AttachedDisk.PersistentDiskConfiguration.Builder |
builder(DiskId sourceDisk)
Returns a builder for a
PersistentDiskConfiguration object given the identity of the
persistent disk to attach. |
boolean |
equals(Object obj) |
int |
hashCode() |
AttachedDisk.PersistentDiskConfiguration.Mode |
mode()
Returns the mode in which to attach this disk.
|
static AttachedDisk.PersistentDiskConfiguration |
of(DiskId sourceDisk)
Returns a
PersistentDiskConfiguration object given the identity of the persistent
disk to attach. |
DiskId |
sourceDisk()
Returns the identity of the persistent disk to be attached.
|
AttachedDisk.PersistentDiskConfiguration.Builder |
toBuilder()
Returns a builder for the current configuration.
|
autoDelete, boot, interfaceType, toString, typepublic DiskId sourceDisk()
public AttachedDisk.PersistentDiskConfiguration.Mode mode()
AttachedDisk.PersistentDiskConfiguration.Mode.READ_WRITE mode.public AttachedDisk.PersistentDiskConfiguration.Builder toBuilder()
public static AttachedDisk.PersistentDiskConfiguration.Builder builder(DiskId sourceDisk)
PersistentDiskConfiguration object given the identity of the
persistent disk to attach.public static AttachedDisk.PersistentDiskConfiguration of(DiskId sourceDisk)
PersistentDiskConfiguration object given the identity of the persistent
disk to attach.Copyright © 2016 Google. All rights reserved.