public class Snapshot extends Object implements Comparable<Snapshot>
Modifier and Type | Class and Description |
---|---|
static class |
Snapshot.Status |
Constructor and Description |
---|
Snapshot(String region,
String id,
String volumeId,
int volumeSize,
Snapshot.Status status,
Date startTime,
int progress,
String ownerId,
String description,
String ownerAlias) |
Modifier and Type | Method and 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() |
@Deprecated 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 compareTo(Snapshot o)
compareTo
in interface Comparable<Snapshot>
Copyright © 2009-2013 jclouds. All Rights Reserved.