|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.googlecomputeengine.options.AttachDiskOptions
public class AttachDiskOptions
Options for attaching disks to instances.
| Nested Class Summary | |
|---|---|
static class |
AttachDiskOptions.DiskMode
|
static class |
AttachDiskOptions.DiskType
|
| Constructor Summary | |
|---|---|
AttachDiskOptions()
|
|
| Method Summary | |
|---|---|
AttachDiskOptions |
boot(boolean boot)
|
AttachDiskOptions |
deviceName(String deviceName)
|
boolean |
getBoot()
Indicates that this is a boot disk. |
String |
getDeviceName()
The device name on the instance - optional. |
AttachDiskOptions.DiskMode |
getMode()
The disk mode |
URI |
getSource()
The URI of the source disk - optional, if DiskType.SCRATCH is used. |
AttachDiskOptions.DiskType |
getType()
The disk type |
AttachDiskOptions |
mode(AttachDiskOptions.DiskMode mode)
|
AttachDiskOptions |
source(URI source)
|
AttachDiskOptions |
type(AttachDiskOptions.DiskType type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachDiskOptions()
| Method Detail |
|---|
public AttachDiskOptions.DiskType getType()
public AttachDiskOptions.DiskMode getMode()
public URI getSource()
public String getDeviceName()
public boolean getBoot()
public AttachDiskOptions type(AttachDiskOptions.DiskType type)
getType()public AttachDiskOptions mode(AttachDiskOptions.DiskMode mode)
getMode()public AttachDiskOptions source(URI source)
getSource()public AttachDiskOptions deviceName(String deviceName)
getDeviceName()public AttachDiskOptions boot(boolean boot)
getBoot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||