org.jclouds.cloudstack.domain
Class Volume

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Volume

public class Volume
extends Object

Author:
Vijay Kiran

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

Constructor Detail

Volume

@ConstructorProperties(value={"id","account","attached","created","destroyed","deviceid","diskofferingdisplaytext","diskofferingid","diskofferingname","domain","domainid","hypervisor","isextractable","jobid","jobstatus","name","serviceofferingdisplaytext","serviceofferingid","serviceofferingname","size","snapshotid","state","storage","storagetype","type","virtualmachineid","vmdisplayname","vmname","vmstate","zoneid","zonename"})
protected Volume(String id,
                                            @Nullable
                                            String account,
                                            @Nullable
                                            Date attached,
                                            @Nullable
                                            Date created,
                                            boolean destroyed,
                                            @Nullable
                                            String deviceId,
                                            @Nullable
                                            String diskOfferingDisplayText,
                                            @Nullable
                                            String diskOfferingId,
                                            @Nullable
                                            String diskOfferingName,
                                            @Nullable
                                            String domain,
                                            @Nullable
                                            String domainId,
                                            @Nullable
                                            String hypervisor,
                                            boolean isExtractable,
                                            @Nullable
                                            String jobId,
                                            @Nullable
                                            String jobStatus,
                                            @Nullable
                                            String name,
                                            @Nullable
                                            String serviceOfferingDisplayText,
                                            @Nullable
                                            String serviceOfferingId,
                                            @Nullable
                                            String serviceOfferingName,
                                            long size,
                                            @Nullable
                                            String snapshotId,
                                            @Nullable
                                            Volume.State state,
                                            @Nullable
                                            String storage,
                                            @Nullable
                                            String storageType,
                                            @Nullable
                                            Volume.Type type,
                                            @Nullable
                                            String virtualMachineId,
                                            @Nullable
                                            String vmDisplayName,
                                            @Nullable
                                            String vmName,
                                            @Nullable
                                            VirtualMachine.State vmState,
                                            @Nullable
                                            String zoneId,
                                            @Nullable
                                            String zoneName)
Method Detail

builder

public static Volume.Builder<?> builder()

toBuilder

public Volume.Builder<?> toBuilder()

getId

public String getId()

getAccount

@Nullable
public String getAccount()

getAttached

@Nullable
public Date getAttached()

getCreated

@Nullable
public Date getCreated()

isDestroyed

public boolean isDestroyed()

getDeviceId

@Nullable
public String getDeviceId()

getDiskOfferingDisplayText

@Nullable
public String getDiskOfferingDisplayText()

getDiskOfferingId

@Nullable
public String getDiskOfferingId()

getDiskOfferingName

@Nullable
public String getDiskOfferingName()

getDomain

@Nullable
public String getDomain()

getDomainId

@Nullable
public String getDomainId()

getHypervisor

@Nullable
public String getHypervisor()

isExtractable

public boolean isExtractable()

getJobId

@Nullable
public String getJobId()

getJobStatus

@Nullable
public String getJobStatus()

getName

@Nullable
public String getName()

getServiceOfferingDisplayText

@Nullable
public String getServiceOfferingDisplayText()

getServiceOfferingId

@Nullable
public String getServiceOfferingId()

getServiceOfferingName

@Nullable
public String getServiceOfferingName()

getSize

public long getSize()

getSnapshotId

@Nullable
public String getSnapshotId()

getState

@Nullable
public Volume.State getState()

getStorage

@Nullable
public String getStorage()

getStorageType

@Nullable
public String getStorageType()

getType

@Nullable
public Volume.Type getType()

getVirtualMachineId

@Nullable
public String getVirtualMachineId()

getVmDisplayName

@Nullable
public String getVmDisplayName()

getVmName

@Nullable
public String getVmName()

getVmState

@Nullable
public VirtualMachine.State getVmState()

getZoneId

@Nullable
public String getZoneId()

getZoneName

@Nullable
public String getZoneName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.