Package org.jclouds.digitalocean2.domain
Class Droplet
- java.lang.Object
-
- org.jclouds.digitalocean2.domain.Droplet
-
public abstract class Droplet extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Droplet.Status
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<Integer>
backupsIds()
static Droplet
create(int id, String name, int memory, int vcpus, int disk, boolean locked, Date createdAt, Droplet.Status status, List<Integer> backupIds, List<Integer> snapshotIds, List<String> features, Region region, Image image, Size size, String sizeSlug, Networks network, Kernel kernel)
abstract Date
createdAt()
abstract int
disk()
abstract List<String>
features()
Set<Networks.Address>
getPrivateAddresses()
Set<Networks.Address>
getPublicAddresses()
abstract int
id()
abstract Image
image()
abstract Kernel
kernel()
abstract boolean
locked()
abstract int
memory()
abstract String
name()
abstract Networks
networks()
abstract Region
region()
abstract Size
size()
abstract String
sizeSlug()
abstract List<Integer>
snapshotIds()
abstract Droplet.Status
status()
abstract int
vcpus()
-
-
-
Method Detail
-
id
public abstract int id()
-
name
public abstract String name()
-
memory
public abstract int memory()
-
vcpus
public abstract int vcpus()
-
disk
public abstract int disk()
-
locked
public abstract boolean locked()
-
createdAt
public abstract Date createdAt()
-
status
public abstract Droplet.Status status()
-
sizeSlug
public abstract String sizeSlug()
-
create
public static Droplet create(int id, String name, int memory, int vcpus, int disk, boolean locked, Date createdAt, Droplet.Status status, List<Integer> backupIds, List<Integer> snapshotIds, List<String> features, Region region, Image image, Size size, String sizeSlug, Networks network, Kernel kernel)
-
getPublicAddresses
public Set<Networks.Address> getPublicAddresses()
-
getPrivateAddresses
public Set<Networks.Address> getPrivateAddresses()
-
-