|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.ec2.domain.Snapshot
public class Snapshot
Nested Class Summary | |
---|---|
static class |
Snapshot.Status
|
Constructor Summary | |
---|---|
Snapshot(String region,
String id,
String volumeId,
int volumeSize,
Snapshot.Status status,
Date startTime,
int progress,
String ownerId,
String description,
String ownerAlias)
|
Method Summary | |
---|---|
int |
compareTo(Snapshot o)
|
boolean |
equals(Object obj)
|
String |
getDescription()
Description of the snapshot. |
String |
getId()
The ID of the snapshot. |
String |
getOwnerAlias()
The AWS identity alias (e.g., "amazon", "redhat", "self", etc.) or AWS identity ID that owns the AMI. |
String |
getOwnerId()
AWS Access Key ID of the user who owns the snapshot. |
int |
getProgress()
The progress of the snapshot, in percentage. |
String |
getRegion()
Snapshots are tied to Regions and can only be used for volumes within the same Region. |
Date |
getStartTime()
Time stamp when the snapshot was initiated. |
Snapshot.Status |
getStatus()
Snapshot state (e.g., pending, completed, or error) |
String |
getVolumeId()
The ID of the volume. |
int |
getVolumeSize()
The size of the volume, in GiB. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Snapshot(String region, String id, String volumeId, int volumeSize, Snapshot.Status status, Date startTime, int progress, String ownerId, String description, String ownerAlias)
Method Detail |
---|
public String getRegion()
public String getId()
public String getVolumeId()
public int getVolumeSize()
public Snapshot.Status getStatus()
public Date getStartTime()
public int getProgress()
public String getOwnerId()
public String getDescription()
public String getOwnerAlias()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public int compareTo(Snapshot o)
compareTo
in interface Comparable<Snapshot>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |