Package com.myjeeva.digitalocean.pojo
Class Volume
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.Volume
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getSize()getTags()voidsetCreatedDate(Date createdDate) voidsetDescription(String description) voidsetDropletIds(Set<Integer> dropletIds) voidsetFileSystemLabel(String fileSystemLabel) voidsetFileSystemType(String fileSystemType) voidvoidvoidvoidvoidsetSnapshotId(String snapshotId) voidtoString()Methods inherited from class com.myjeeva.digitalocean.pojo.Base
getLinks, getMeta, setLinks, setMetaMethods inherited from class com.myjeeva.digitalocean.pojo.RateLimitBase
getRateLimit, setRateLimit
-
Constructor Details
-
Volume
public Volume()
-
-
Method Details
-
toString
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getRegion
- Returns:
- the region
-
setRegion
- Parameters:
region- the region to set
-
getDropletIds
- Returns:
- the dropletIds
-
setDropletIds
- Parameters:
dropletIds- the dropletIds to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getSize
- Returns:
- the size in Gigabytes
-
setSize
- Parameters:
size- the size to set
-
getCreatedDate
- Returns:
- the createdDate
-
setCreatedDate
- Parameters:
createdDate- the createdDate to set
-
getSnapshotId
- Returns:
- the snapshotId
-
setSnapshotId
- Parameters:
snapshotId- the snapshotId to set
-
getFileSystemType
- Returns:
- the fileSystemType
-
setFileSystemType
- Parameters:
fileSystemType- the fileSystemType to set
-
getFileSystemLabel
- Returns:
- the fileSystemLabel
-
setFileSystemLabel
- Parameters:
fileSystemLabel- the fileSystemLabel to set
-
getTags
- Returns:
- the tags
-
setTags
- Parameters:
tags- the tags to set
-