org.jclouds.cloudstack.domain
Class Volume.Builder<T extends Volume.Builder<T>>

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Volume.Builder<T>
Enclosing class:
Volume

public abstract static class Volume.Builder<T extends Volume.Builder<T>>
extends Object


Field Summary
protected  String account
           
protected  Date attached
           
protected  Date created
           
protected  boolean destroyed
           
protected  String deviceId
           
protected  String diskOfferingDisplayText
           
protected  String diskOfferingId
           
protected  String diskOfferingName
           
protected  String domain
           
protected  String domainId
           
protected  String hypervisor
           
protected  String id
           
protected  boolean isExtractable
           
protected  String jobId
           
protected  String jobStatus
           
protected  String name
           
protected  String serviceOfferingDisplayText
           
protected  String serviceOfferingId
           
protected  String serviceOfferingName
           
protected  long size
           
protected  String snapshotId
           
protected  Volume.State state
           
protected  String storage
           
protected  String storageType
           
protected  Volume.Type type
           
protected  String virtualMachineId
           
protected  String vmDisplayName
           
protected  String vmName
           
protected  VirtualMachine.State vmState
           
protected  String zoneId
           
protected  String zoneName
           
 
Constructor Summary
Volume.Builder()
           
 
Method Summary
 T account(String account)
           
 T attached(Date attached)
           
 Volume build()
           
 T created(Date created)
           
 T destroyed(boolean destroyed)
           
 T deviceId(String deviceId)
           
 T diskOfferingDisplayText(String diskOfferingDisplayText)
           
 T diskOfferingId(String diskOfferingId)
           
 T diskOfferingName(String diskOfferingName)
           
 T domain(String domain)
           
 T domainId(String domainId)
           
 T fromVolume(Volume in)
           
 T hypervisor(String hypervisor)
           
 T id(String id)
           
 T isExtractable(boolean isExtractable)
           
 T jobId(String jobId)
           
 T jobStatus(String jobStatus)
           
 T name(String name)
           
protected abstract  T self()
           
 T serviceOfferingDisplayText(String serviceOfferingDisplayText)
           
 T serviceOfferingId(String serviceOfferingId)
           
 T serviceOfferingName(String serviceOfferingName)
           
 T size(long size)
           
 T snapshotId(String snapshotId)
           
 T state(Volume.State state)
           
 T storage(String storage)
           
 T storageType(String storageType)
           
 T type(Volume.Type type)
           
 T virtualMachineId(String virtualMachineId)
           
 T vmDisplayName(String vmDisplayName)
           
 T vmName(String vmName)
           
 T vmState(VirtualMachine.State vmState)
           
 T zoneId(String zoneId)
           
 T zoneName(String zoneName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

account

protected String account

attached

protected Date attached

created

protected Date created

destroyed

protected boolean destroyed

deviceId

protected String deviceId

diskOfferingDisplayText

protected String diskOfferingDisplayText

diskOfferingId

protected String diskOfferingId

diskOfferingName

protected String diskOfferingName

domain

protected String domain

domainId

protected String domainId

hypervisor

protected String hypervisor

isExtractable

protected boolean isExtractable

jobId

protected String jobId

jobStatus

protected String jobStatus

name

protected String name

serviceOfferingDisplayText

protected String serviceOfferingDisplayText

serviceOfferingId

protected String serviceOfferingId

serviceOfferingName

protected String serviceOfferingName

size

protected long size

snapshotId

protected String snapshotId

state

protected Volume.State state

storage

protected String storage

storageType

protected String storageType

type

protected Volume.Type type

virtualMachineId

protected String virtualMachineId

vmDisplayName

protected String vmDisplayName

vmName

protected String vmName

vmState

protected VirtualMachine.State vmState

zoneId

protected String zoneId

zoneName

protected String zoneName
Constructor Detail

Volume.Builder

public Volume.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Volume.getId()

account

public T account(String account)
See Also:
Volume.getAccount()

attached

public T attached(Date attached)
See Also:
Volume.getAttached()

created

public T created(Date created)
See Also:
Volume.getCreated()

destroyed

public T destroyed(boolean destroyed)
See Also:
Volume.isDestroyed()

deviceId

public T deviceId(String deviceId)
See Also:
Volume.getDeviceId()

diskOfferingDisplayText

public T diskOfferingDisplayText(String diskOfferingDisplayText)
See Also:
Volume.getDiskOfferingDisplayText()

diskOfferingId

public T diskOfferingId(String diskOfferingId)
See Also:
Volume.getDiskOfferingId()

diskOfferingName

public T diskOfferingName(String diskOfferingName)
See Also:
Volume.getDiskOfferingName()

domain

public T domain(String domain)
See Also:
Volume.getDomain()

domainId

public T domainId(String domainId)
See Also:
Volume.getDomainId()

hypervisor

public T hypervisor(String hypervisor)
See Also:
Volume.getHypervisor()

isExtractable

public T isExtractable(boolean isExtractable)
See Also:
Volume.isExtractable()

jobId

public T jobId(String jobId)
See Also:
Volume.getJobId()

jobStatus

public T jobStatus(String jobStatus)
See Also:
Volume.getJobStatus()

name

public T name(String name)
See Also:
Volume.getName()

serviceOfferingDisplayText

public T serviceOfferingDisplayText(String serviceOfferingDisplayText)
See Also:
Volume.getServiceOfferingDisplayText()

serviceOfferingId

public T serviceOfferingId(String serviceOfferingId)
See Also:
Volume.getServiceOfferingId()

serviceOfferingName

public T serviceOfferingName(String serviceOfferingName)
See Also:
Volume.getServiceOfferingName()

size

public T size(long size)
See Also:
Volume.getSize()

snapshotId

public T snapshotId(String snapshotId)
See Also:
Volume.getSnapshotId()

state

public T state(Volume.State state)
See Also:
Volume.getState()

storage

public T storage(String storage)
See Also:
Volume.getStorage()

storageType

public T storageType(String storageType)
See Also:
Volume.getStorageType()

type

public T type(Volume.Type type)
See Also:
Volume.getType()

virtualMachineId

public T virtualMachineId(String virtualMachineId)
See Also:
Volume.getVirtualMachineId()

vmDisplayName

public T vmDisplayName(String vmDisplayName)
See Also:
Volume.getVmDisplayName()

vmName

public T vmName(String vmName)
See Also:
Volume.getVmName()

vmState

public T vmState(VirtualMachine.State vmState)
See Also:
Volume.getVmState()

zoneId

public T zoneId(String zoneId)
See Also:
Volume.getZoneId()

zoneName

public T zoneName(String zoneName)
See Also:
Volume.getZoneName()

build

public Volume build()

fromVolume

public T fromVolume(Volume in)


Copyright © 2009-2013 jclouds. All Rights Reserved.