org.jclouds.cloudstack.domain
Class Volume

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Volume
All Implemented Interfaces:
Comparable<Volume>

public class Volume
extends Object
implements Comparable<Volume>

Author:
Vijay Kiran

Nested Class Summary
static class Volume.Builder
           
static class Volume.State
           
static class Volume.Type
           
 
Constructor Summary
Volume(long id, String account, Date attached, Date created, boolean destroyed, long deviceId, String diskOfferingDisplayText, long diskOfferingId, String diskOfferingName, String domain, long domainId, String hypervisor, boolean extractable, long jobId, String jobStatus, String name, String serviceOfferingDisplayText, long serviceOfferingId, String serviceOfferingName, long size, long snapshotId, Volume.State state, String storage, String storageType, Volume.Type type, long virtualMachineId, String vmDisplayName, String vmName, VirtualMachine.State vmState, long zoneId, String zoneName)
           
 
Method Summary
static Volume.Builder builder()
           
 int compareTo(Volume volume)
           
 boolean equals(Object o)
           
 String getAccount()
           
 Date getAttached()
           
 Date getCreated()
           
 long getDeviceId()
           
 String getDiskOfferingDisplayText()
           
 long getDiskOfferingId()
           
 String getDiskOfferingName()
           
 String getDomain()
           
 long getDomainId()
           
 String getHypervisor()
           
 long getId()
           
 long getJobId()
           
 String getJobStatus()
           
 String getName()
           
 String getServiceOfferingDisplayText()
           
 long getServiceOfferingId()
           
 String getServiceOfferingName()
           
 long getSize()
           
 long getSnapshotId()
           
 Volume.State getState()
           
 String getStorage()
           
 String getStorageType()
           
 Volume.Type getType()
           
 long getVirtualMachineId()
           
 String getVmDisplayName()
           
 String getVmName()
           
 VirtualMachine.State getVmState()
           
 long getZoneId()
           
 String getZoneName()
           
 int hashCode()
           
 boolean isDestroyed()
           
 boolean isExtractable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Volume

public Volume(long id,
              String account,
              Date attached,
              Date created,
              boolean destroyed,
              long deviceId,
              String diskOfferingDisplayText,
              long diskOfferingId,
              String diskOfferingName,
              String domain,
              long domainId,
              String hypervisor,
              boolean extractable,
              long jobId,
              String jobStatus,
              String name,
              String serviceOfferingDisplayText,
              long serviceOfferingId,
              String serviceOfferingName,
              long size,
              long snapshotId,
              Volume.State state,
              String storage,
              String storageType,
              Volume.Type type,
              long virtualMachineId,
              String vmDisplayName,
              String vmName,
              VirtualMachine.State vmState,
              long zoneId,
              String zoneName)
Method Detail

builder

public static Volume.Builder builder()

getId

public long getId()

getAttached

public Date getAttached()

getCreated

public Date getCreated()

isDestroyed

public boolean isDestroyed()

getDeviceId

public long getDeviceId()

getDiskOfferingDisplayText

public String getDiskOfferingDisplayText()

getDiskOfferingId

public long getDiskOfferingId()

getDiskOfferingName

public String getDiskOfferingName()

getDomain

public String getDomain()

getDomainId

public long getDomainId()

getHypervisor

public String getHypervisor()

isExtractable

public boolean isExtractable()

getJobId

public long getJobId()

getJobStatus

public String getJobStatus()

getName

public String getName()

getServiceOfferingDisplayText

public String getServiceOfferingDisplayText()

getServiceOfferingId

public long getServiceOfferingId()

getServiceOfferingName

public String getServiceOfferingName()

getSize

public long getSize()

getSnapshotId

public long getSnapshotId()

getState

public Volume.State getState()

getStorage

public String getStorage()

getStorageType

public String getStorageType()

getType

public Volume.Type getType()

getVirtualMachineId

public long getVirtualMachineId()

getVmDisplayName

public String getVmDisplayName()

getVmName

public String getVmName()

getVmState

public VirtualMachine.State getVmState()

getZoneId

public long getZoneId()

getZoneName

public String getZoneName()

getAccount

public String getAccount()

compareTo

public int compareTo(Volume volume)
Specified by:
compareTo in interface Comparable<Volume>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.