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 |
|---|---|
static AttachedDisk.ScratchDiskConfiguration.Builder |
builder(DiskTypeId diskType)
Returns a builder for
ScratchDiskConfiguration objects given the disk type identity. |
DiskTypeId |
diskType()
Returns the identity of the disk type for the scratch disk to attach.
|
boolean |
equals(Object obj) |
int |
hashCode() |
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, interfaceType, toString, typepublic DiskTypeId diskType()
public AttachedDisk.ScratchDiskConfiguration.Builder toBuilder()
public static AttachedDisk.ScratchDiskConfiguration.Builder builder(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 © 2016 Google. All rights reserved.