public static final class AttachedDisk.ScratchDiskConfiguration extends AttachedDisk.AttachedDiskConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
AttachedDisk.ScratchDiskConfiguration.Builder
A builder for
ScratchDiskConfiguration objects. |
AttachedDisk.AttachedDiskConfiguration.InterfaceType, AttachedDisk.AttachedDiskConfiguration.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DiskTypeId |
getDiskType()
Returns the identity of the disk type for the scratch disk to attach.
|
int |
hashCode() |
static AttachedDisk.ScratchDiskConfiguration.Builder |
newBuilder(DiskTypeId diskType)
Returns a builder for
ScratchDiskConfiguration objects given the disk type identity. |
static AttachedDisk.ScratchDiskConfiguration |
of(DiskTypeId diskType)
Returns a
ScratchDiskConfiguration object given the disk type identity. |
AttachedDisk.ScratchDiskConfiguration.Builder |
toBuilder()
Returns a builder for the current configuration.
|
autoDelete, boot, getInterfaceType, getType, toString
public DiskTypeId getDiskType()
public AttachedDisk.ScratchDiskConfiguration.Builder toBuilder()
public static AttachedDisk.ScratchDiskConfiguration.Builder newBuilder(DiskTypeId diskType)
ScratchDiskConfiguration
objects given the disk type identity.public static AttachedDisk.ScratchDiskConfiguration of(DiskTypeId diskType)
ScratchDiskConfiguration
object given the disk type identity. The disk will
be attached via the default interface (AttachedDisk.AttachedDiskConfiguration.InterfaceType.SCSI
).Copyright © 2019 Google LLC. All rights reserved.