org.jclouds.compute.domain
Class VolumeBuilder

java.lang.Object
  extended by org.jclouds.compute.domain.VolumeBuilder

public class VolumeBuilder
extends Object

Author:
Adrian Cole

Constructor Summary
VolumeBuilder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolumeBuilder

public VolumeBuilder()
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()

fromVolume

public static Volume fromVolume(Volume in)


Copyright © 2009-2012 jclouds. All Rights Reserved.