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 |
---|---|
boolean |
equals(Object obj) |
AttachedDisk.PersistentDiskConfiguration.Mode |
getMode()
Returns the mode in which to attach this disk.
|
DiskId |
getSourceDisk()
Returns the identity of the persistent disk to be attached.
|
int |
hashCode() |
static AttachedDisk.PersistentDiskConfiguration.Builder |
newBuilder(DiskId sourceDisk)
Returns a builder for a
PersistentDiskConfiguration object given the identity of the
persistent disk to attach. |
static AttachedDisk.PersistentDiskConfiguration |
of(DiskId sourceDisk)
Returns a
PersistentDiskConfiguration object given the identity of the persistent
disk to attach. |
AttachedDisk.PersistentDiskConfiguration.Builder |
toBuilder()
Returns a builder for the current configuration.
|
autoDelete, boot, getInterfaceType, getType, toString
public DiskId getSourceDisk()
public AttachedDisk.PersistentDiskConfiguration.Mode getMode()
AttachedDisk.PersistentDiskConfiguration.Mode.READ_WRITE
mode.public AttachedDisk.PersistentDiskConfiguration.Builder toBuilder()
public static AttachedDisk.PersistentDiskConfiguration.Builder newBuilder(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 © 2019 Google LLC. All rights reserved.