com.myjeeva.digitalocean.pojo
Class Droplet
java.lang.Object
com.myjeeva.digitalocean.pojo.Droplet
public class Droplet
- extends Object
Represents Droplet attributes of DigitalOcean
- Author:
- Jeevanandam M. ([email protected])
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Droplet
public Droplet()
getId
public Integer getId()
- Returns:
- the id
setId
public void setId(Integer id)
- Parameters:
id - the id to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name - the name to set
getImageId
public Integer getImageId()
- Returns:
- the imageId
setImageId
public void setImageId(Integer imageId)
- Parameters:
imageId - the imageId to set
getRegionId
public Integer getRegionId()
- Returns:
- the regionId
setRegionId
public void setRegionId(Integer regionId)
- Parameters:
regionId - the regionId to set
getSizeId
public Integer getSizeId()
- Returns:
- the sizeId
setSizeId
public void setSizeId(Integer sizeId)
- Parameters:
sizeId - the sizeId to set
isBackupsActive
public boolean isBackupsActive()
- Returns:
- the backupsActive
setBackupsActive
public void setBackupsActive(boolean backupsActive)
- Parameters:
backupsActive - the backupsActive to set
getBackups
public List<Backup> getBackups()
- Returns:
- the backups
setBackups
public void setBackups(List<Backup> backups)
- Parameters:
backups - the backups to set
getSnapshots
public List<Snapshot> getSnapshots()
- Returns:
- the snapshots
setSnapshots
public void setSnapshots(List<Snapshot> snapshots)
- Parameters:
snapshots - the snapshots to set
getIpAddress
public String getIpAddress()
- Returns:
- the ipAddress
setIpAddress
public void setIpAddress(String ipAddress)
- Parameters:
ipAddress - the ipAddress to set
getPrivateIpAddress
public String getPrivateIpAddress()
- Returns:
- the privateIpAddress
setPrivateIpAddress
public void setPrivateIpAddress(String privateIpAddress)
- Parameters:
privateIpAddress - the privateIpAddress to set
isLocked
public boolean isLocked()
- Returns:
- the locked
setLocked
public void setLocked(boolean locked)
- Parameters:
locked - the locked to set
getStatus
public String getStatus()
- Returns:
- the status
setStatus
public void setStatus(String status)
- Parameters:
status - the status to set
getCreatedDate
public Date getCreatedDate()
- Returns:
- the createdDate
setCreatedDate
public void setCreatedDate(Date createdDate)
- Parameters:
createdDate - the createdDate to set
getEventId
public Long getEventId()
- Returns:
- the eventId
setEventId
public void setEventId(Long eventId)
- Parameters:
eventId - the eventId to set
isActive
public boolean isActive()
- Returns:
- true if droplet is active
isNew
public boolean isNew()
- Returns:
- true if droplet is new, meaning it's booting up
isOff
public boolean isOff()
- Returns:
- true if droplet is turned off
isArchived
public boolean isArchived()
- Returns:
- true if droplet is archived