org.jclouds.digitalocean.domain
Class Droplet
java.lang.Object
org.jclouds.digitalocean.domain.Droplet
public class Droplet
- extends Object
A droplet.
- Author:
- Sergi Castro, Ignasi Barrera
|
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)
|
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
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.