Package org.jclouds.ec2.domain
Class Snapshot
java.lang.Object
org.jclouds.ec2.domain.Snapshot
- All Implemented Interfaces:
Comparable<Snapshot>
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Description of the snapshot.getId()
The ID of the snapshot.The AWS identity alias (e.g., "amazon", "redhat", "self", etc.) or AWS identity ID that owns the AMI.AWS Access Key ID of the user who owns the snapshot.int
The progress of the snapshot, in percentage.Deprecated.Time stamp when the snapshot was initiated.Snapshot state (e.g., pending, completed, or error)The ID of the volume.int
The size of the volume, in GiB.int
hashCode()
toString()
-
Constructor Details
-
Snapshot
-
-
Method Details
-
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
The ID of the snapshot. -
getVolumeId
The ID of the volume. -
getVolumeSize
public int getVolumeSize()The size of the volume, in GiB. -
getStatus
Snapshot state (e.g., pending, completed, or error) -
getStartTime
Time stamp when the snapshot was initiated. -
getProgress
public int getProgress()The progress of the snapshot, in percentage. -
getOwnerId
AWS Access Key ID of the user who owns the snapshot. -
getDescription
Description of the snapshot. -
getOwnerAlias
The AWS identity alias (e.g., "amazon", "redhat", "self", etc.) or AWS identity ID that owns the AMI. -
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Snapshot>
-