org.jclouds.cloudstack.domain
Class Volume
java.lang.Object
org.jclouds.cloudstack.domain.Volume
- All Implemented Interfaces:
- Comparable<Volume>
public class Volume
- extends Object
- implements Comparable<Volume>
- Author:
- Vijay Kiran
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)
|
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)
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.