org.jclouds.digitalocean.domain
Class Droplet

java.lang.Object
  extended by org.jclouds.digitalocean.domain.Droplet

public class Droplet
extends Object

A droplet.


Nested Class Summary
static class Droplet.Status
           
 
Constructor Summary
Droplet(int id, String name, int imageId, int sizeId, int regionId, boolean backupsActive, List<Object> backups, List<Object> snapshots, String ip, String privateIp, boolean locked, Droplet.Status status, Date creationDate)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Object> getBackups()
           
 Date getCreationDate()
           
 int getId()
           
 int getImageId()
           
 String getIp()
           
 String getName()
           
 String getPrivateIp()
           
 int getRegionId()
           
 int getSizeId()
           
 List<Object> getSnapshots()
           
 Droplet.Status getStatus()
           
 int hashCode()
           
 boolean isBackupsActive()
           
 boolean isLocked()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Droplet

@ConstructorProperties(value={"id","name","image_id","size_id","region_id","backups_active","backups","snapshots","ip_address","private_ip_address","locked","status","created_at"})
public Droplet(int id,
                                          String name,
                                          int imageId,
                                          int sizeId,
                                          int regionId,
                                          boolean backupsActive,
                                          @Nullable
                                          List<Object> backups,
                                          @Nullable
                                          List<Object> snapshots,
                                          String ip,
                                          @Nullable
                                          String privateIp,
                                          boolean locked,
                                          Droplet.Status status,
                                          @Nullable
                                          Date creationDate)
        throws ParseException
Throws:
ParseException
Method Detail

getId

public int getId()

getName

public String getName()

getImageId

public int getImageId()

getSizeId

public int getSizeId()

getRegionId

public int getRegionId()

isBackupsActive

public boolean isBackupsActive()

getBackups

public List<Object> getBackups()

getSnapshots

public List<Object> getSnapshots()

getIp

public String getIp()

getPrivateIp

public String getPrivateIp()

isLocked

public boolean isLocked()

getStatus

public Droplet.Status getStatus()

getCreationDate

public Date getCreationDate()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.