public class Droplet extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Droplet.Status |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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() |
@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
ParseExceptionpublic int getId()
public String getName()
public int getImageId()
public int getSizeId()
public int getRegionId()
public boolean isBackupsActive()
public String getIp()
public String getPrivateIp()
public boolean isLocked()
public Droplet.Status getStatus()
public Date getCreationDate()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.