Class Volume

java.lang.Object
com.woorea.openstack.cinder.model.Volume
All Implemented Interfaces:
Serializable

public class Volume extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • Volume

      public Volume()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • getStatus

      public String getStatus()
      Returns:
      the status
    • getName

      public String getName()
      Returns:
      the name
    • getDescription

      public String getDescription()
      Returns:
      the description
    • getAvailabilityZone

      public String getAvailabilityZone()
      Returns:
      the availabilityZone
    • getVolumeType

      public String getVolumeType()
      Returns:
      the volumeType
    • getSnapshotId

      public String getSnapshotId()
      Returns:
      the snapshotId
    • getSourceVolid

      public String getSourceVolid()
      Returns:
      the ID of an existing volume (specify in order to create a volume from an existing volume)
    • setSourceVolid

      public void setSourceVolid(String sourceVolid)
      Parameters:
      sourceVolid - to set
    • setVolumeType

      public void setVolumeType(String volumeType)
      Parameters:
      volumeType - to set
    • getBootable

      public Boolean getBootable()
      Returns:
      the bootable flag to set
    • getAttachments

      public List<Map<String,Object>> getAttachments()
      Returns:
      the attachments
    • getMetadata

      public Map<String,String> getMetadata()
      Returns:
      the metadata
    • getCreatedAt

      public String getCreatedAt()
      Returns:
      the createdAt
    • getSize

      public Integer getSize()
      Returns:
      the size
    • toString

      public String toString()
      Overrides:
      toString in class Object