public class VolumeBuilder extends Object
Constructor and Description |
---|
VolumeBuilder() |
Modifier and Type | Method and 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) |
public VolumeBuilder type(Volume.Type type)
public VolumeBuilder id(String id)
public VolumeBuilder size(@Nullable Float size)
public VolumeBuilder device(@Nullable String device)
public VolumeBuilder bootDevice(boolean bootDevice)
public VolumeBuilder durable(boolean durable)
public Volume build()
Copyright © 2009-2013 jclouds. All Rights Reserved.