Class Volume

All Implemented Interfaces:
Serializable

public class Volume extends Base
Represents Block Storage attributes of DigitalOcean.

Block Storage volumes provide expanded storage capacity for your Droplets.

Since:
v2.7
Author:
Eugene Strokin (https://github.com/strokine)
See Also:
  • Constructor Details

    • Volume

      public Volume()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Base
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getRegion

      public Region getRegion()
      Returns:
      the region
    • setRegion

      public void setRegion(Region region)
      Parameters:
      region - the region to set
    • getDropletIds

      public Set<Integer> getDropletIds()
      Returns:
      the dropletIds
    • setDropletIds

      public void setDropletIds(Set<Integer> dropletIds)
      Parameters:
      dropletIds - the dropletIds to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getSize

      public Integer getSize()
      Returns:
      the size in Gigabytes
    • setSize

      public void setSize(Integer size)
      Parameters:
      size - the size to set
    • getCreatedDate

      public Date getCreatedDate()
      Returns:
      the createdDate
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
      Parameters:
      createdDate - the createdDate to set
    • getSnapshotId

      public String getSnapshotId()
      Returns:
      the snapshotId
    • setSnapshotId

      public void setSnapshotId(String snapshotId)
      Parameters:
      snapshotId - the snapshotId to set
    • getFileSystemType

      public String getFileSystemType()
      Returns:
      the fileSystemType
    • setFileSystemType

      public void setFileSystemType(String fileSystemType)
      Parameters:
      fileSystemType - the fileSystemType to set
    • getFileSystemLabel

      public String getFileSystemLabel()
      Returns:
      the fileSystemLabel
    • setFileSystemLabel

      public void setFileSystemLabel(String fileSystemLabel)
      Parameters:
      fileSystemLabel - the fileSystemLabel to set
    • getTags

      public List<String> getTags()
      Returns:
      the tags
    • setTags

      public void setTags(List<String> tags)
      Parameters:
      tags - the tags to set