Class Volume

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

public class Volume extends Object
  • Constructor Details

    • 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 Details

    • 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()
    • getTags

      public Set<Tag> getTags()
      Returns:
      the tags for the volume
    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object