public class Snapshot extends Object implements Comparable<Snapshot>
Modifier and Type | Class and Description |
---|---|
static class |
Snapshot.Builder |
static class |
Snapshot.Interval |
static class |
Snapshot.State |
static class |
Snapshot.Type |
Constructor and Description |
---|
Snapshot(long id,
String account,
Date created,
String domain,
long domainId,
Snapshot.Interval interval,
long jobId,
String jobStatus,
String name,
Snapshot.Type snapshotType,
Snapshot.State state,
long volumeId,
String volumeName,
Volume.Type volumeType) |
Modifier and Type | Method and Description |
---|---|
static Snapshot.Builder |
builder() |
int |
compareTo(Snapshot other) |
boolean |
equals(Object o) |
String |
getAccount() |
Date |
getCreated() |
String |
getDomain() |
long |
getDomainId() |
long |
getId() |
Snapshot.Interval |
getInterval() |
long |
getJobId() |
String |
getJobStatus() |
String |
getName() |
Snapshot.Type |
getSnapshotType() |
Snapshot.State |
getState() |
long |
getVolumeId() |
String |
getVolumeName() |
Volume.Type |
getVolumeType() |
int |
hashCode() |
String |
toString() |
public Snapshot(long id, String account, Date created, String domain, long domainId, Snapshot.Interval interval, long jobId, String jobStatus, String name, Snapshot.Type snapshotType, Snapshot.State state, long volumeId, String volumeName, Volume.Type volumeType)
public static Snapshot.Builder builder()
public long getId()
public String getAccount()
public Date getCreated()
public String getDomain()
public long getDomainId()
public Snapshot.Interval getInterval()
public long getJobId()
public String getJobStatus()
public String getName()
public Snapshot.Type getSnapshotType()
public Snapshot.State getState()
public long getVolumeId()
public String getVolumeName()
public Volume.Type getVolumeType()
public int compareTo(Snapshot other)
compareTo
in interface Comparable<Snapshot>
Copyright © 2009-2012 jclouds. All Rights Reserved.