Class Instance.AttachedDisk
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.Instance.AttachedDisk
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.AttachedDisk.Mode
static class
Instance.AttachedDisk.Type
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
autoDelete()
abstract boolean
boot()
static Instance.AttachedDisk
create(int index, Instance.AttachedDisk.Type type, Instance.AttachedDisk.Mode mode, URI source, String deviceName, boolean autoDelete, boolean boot, AttachDisk.InitializeParams initializeParams, List<String> licenses, AttachDisk.DiskInterface diskInterface)
abstract String
deviceName()
Must be unique within the instance when specified.abstract AttachDisk.DiskInterface
diskInterface()
abstract int
index()
A zero-based index to assign to this disk, where 0 is reserved for the boot disk.abstract AttachDisk.InitializeParams
initializeParams()
abstract List<String>
licenses()
abstract Instance.AttachedDisk.Mode
mode()
abstract URI
source()
abstract Instance.AttachedDisk.Type
type()
-
-
-
Method Detail
-
index
public abstract int index()
A zero-based index to assign to this disk, where 0 is reserved for the boot disk.
-
type
public abstract Instance.AttachedDisk.Type type()
-
mode
public abstract Instance.AttachedDisk.Mode mode()
-
deviceName
@Nullable public abstract String deviceName()
Must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system.
-
autoDelete
public abstract boolean autoDelete()
-
boot
public abstract boolean boot()
-
initializeParams
@Nullable public abstract AttachDisk.InitializeParams initializeParams()
-
diskInterface
@Nullable public abstract AttachDisk.DiskInterface diskInterface()
-
create
public static Instance.AttachedDisk create(int index, Instance.AttachedDisk.Type type, Instance.AttachedDisk.Mode mode, URI source, String deviceName, boolean autoDelete, boolean boot, AttachDisk.InitializeParams initializeParams, List<String> licenses, AttachDisk.DiskInterface diskInterface)
-
-