Package org.jclouds.ec2.domain
Class Snapshot
- java.lang.Object
 - 
- org.jclouds.ec2.domain.Snapshot
 
 
- 
- All Implemented Interfaces:
 Comparable<Snapshot>
public class Snapshot extends Object implements Comparable<Snapshot>
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshot.Status 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(Snapshot o)booleanequals(Object obj)StringgetDescription()Description of the snapshot.StringgetId()The ID of the snapshot.StringgetOwnerAlias()The AWS identity alias (e.g., "amazon", "redhat", "self", etc.) or AWS identity ID that owns the AMI.StringgetOwnerId()AWS Access Key ID of the user who owns the snapshot.intgetProgress()The progress of the snapshot, in percentage.StringgetRegion()Deprecated.DategetStartTime()Time stamp when the snapshot was initiated.Snapshot.StatusgetStatus()Snapshot state (e.g., pending, completed, or error)StringgetVolumeId()The ID of the volume.intgetVolumeSize()The size of the volume, in GiB.inthashCode()StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getRegion
@Deprecated public String getRegion()
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context. 
- 
getId
public String getId()
The ID of the snapshot. 
- 
getVolumeId
public String getVolumeId()
The ID of the volume. 
- 
getVolumeSize
public int getVolumeSize()
The size of the volume, in GiB. 
- 
getStatus
public Snapshot.Status getStatus()
Snapshot state (e.g., pending, completed, or error) 
- 
getStartTime
public Date getStartTime()
Time stamp when the snapshot was initiated. 
- 
getProgress
public int getProgress()
The progress of the snapshot, in percentage. 
- 
getOwnerId
public String getOwnerId()
AWS Access Key ID of the user who owns the snapshot. 
- 
getDescription
public String getDescription()
Description of the snapshot. 
- 
getOwnerAlias
public String getOwnerAlias()
The AWS identity alias (e.g., "amazon", "redhat", "self", etc.) or AWS identity ID that owns the AMI. 
- 
compareTo
public int compareTo(Snapshot o)
- Specified by:
 compareToin interfaceComparable<Snapshot>
 
 - 
 
 -