Package org.jclouds.cloudstack.domain
Class Volume
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Volume
-
public class Volume extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Volume.Builder<T extends Volume.Builder<T>>
static class
Volume.State
static class
Volume.Type
-
Constructor Summary
Constructors Modifier Constructor Description 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, Set<Tag> tags)
-
Method Summary
-
-
-
Constructor Detail
-
Volume
@ConstructorProperties({"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","tags"}) 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, @Nullable Set<Tag> tags)
-
-
Method Detail
-
builder
public static Volume.Builder<?> builder()
-
toBuilder
public Volume.Builder<?> toBuilder()
-
getId
public String getId()
-
isDestroyed
public boolean isDestroyed()
-
isExtractable
public boolean isExtractable()
-
getSize
public long getSize()
-
getState
@Nullable public Volume.State getState()
-
getType
@Nullable public Volume.Type getType()
-
getVmState
@Nullable public VirtualMachine.State getVmState()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-