Package org.jclouds.compute.domain
Class VolumeBuilder
- java.lang.Object
-
- org.jclouds.compute.domain.VolumeBuilder
-
public class VolumeBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description VolumeBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeBuilder
bootDevice(boolean bootDevice)
Volume
build()
VolumeBuilder
device(String device)
VolumeBuilder
durable(boolean durable)
static Volume
fromVolume(Volume in)
VolumeBuilder
id(String id)
VolumeBuilder
size(Float size)
VolumeBuilder
type(Volume.Type type)
-
-
-
Method Detail
-
type
public VolumeBuilder type(Volume.Type type)
-
id
public VolumeBuilder id(String id)
-
size
public VolumeBuilder size(@Nullable Float size)
-
device
public VolumeBuilder device(@Nullable String device)
-
bootDevice
public VolumeBuilder bootDevice(boolean bootDevice)
-
durable
public VolumeBuilder durable(boolean durable)
-
build
public Volume build()
-
-