Package org.jclouds.ec2.domain
Class BundleTask
java.lang.Object
org.jclouds.ec2.domain.BundleTask
- All Implemented Interfaces:
Comparable<BundleTask>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
If the task fails, a description of the error. -
Constructor Summary
ConstructorsConstructorDescriptionBundleTask
(String region, String bundleId, BundleTask.Error error, String instanceId, int progress, Date startTime, String state, String bucket, String prefix, Date updateTime) -
Method Summary
-
Constructor Details
-
BundleTask
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<BundleTask>
-
toString
-
hashCode
public int hashCode() -
equals
-
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. -
getBucket
- Returns:
- The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone e lse, Amazon EC2 returns an error.
-
getPrefix
- Returns:
- Specifies the beginning of the file name of the AMI.
-
getBundleId
- Returns:
- Identifier for this task.
-
getError
- Returns:
- If the task fails, a description of the error.
-
getInstanceId
- Returns:
- Instance associated with this bundle task
-
getProgress
public int getProgress()- Returns:
- A percentage description of the progress of the task, such as 20.
-
getStartTime
- Returns:
- The time this task started.
-
getState
- Returns:
- The state of the task.
-
getUpdateTime
- Returns:
- The time of the most recent update for the task.
-