org.jclouds.ovf
Class Disk.Builder

java.lang.Object
  extended by org.jclouds.ovf.Disk.Builder
Enclosing class:
Disk

public static class Disk.Builder
extends Object


Constructor Summary
Disk.Builder()
           
 
Method Summary
 Disk build()
           
 Disk.Builder capacity(Long capacity)
           
 Disk.Builder capacityAllocationUnits(String capacityAllocationUnits)
           
 Disk.Builder fileRef(String fileRef)
           
 Disk.Builder format(URI format)
           
 Disk.Builder fromDisk(Disk in)
           
 Disk.Builder id(String id)
           
 Disk.Builder parentRef(String parentRef)
           
 Disk.Builder populatedSize(Long populatedSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Disk.Builder

public Disk.Builder()
Method Detail

id

public Disk.Builder id(String id)
See Also:
Disk.getId()

capacity

public Disk.Builder capacity(Long capacity)
See Also:
Disk.getCapacity()

parentRef

public Disk.Builder parentRef(String parentRef)
See Also:
Disk.getParentRef()

fileRef

public Disk.Builder fileRef(String fileRef)
See Also:
Disk.getFileRef()

format

public Disk.Builder format(URI format)
See Also:
Disk.getFormat()

populatedSize

public Disk.Builder populatedSize(Long populatedSize)
See Also:
Disk.getPopulatedSize()

capacityAllocationUnits

public Disk.Builder capacityAllocationUnits(String capacityAllocationUnits)
See Also:
Disk.getCapacityAllocationUnits()

build

public Disk build()

fromDisk

public Disk.Builder fromDisk(Disk in)


Copyright © 2009-2011 jclouds. All Rights Reserved.