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 class
Snapshot.Status
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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()
Deprecated.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()
-
-
-
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:
compareTo
in interfaceComparable<Snapshot>
-
-