Class BundleTask

java.lang.Object
org.jclouds.ec2.domain.BundleTask
All Implemented Interfaces:
Comparable<BundleTask>

public class BundleTask extends Object implements Comparable<BundleTask>
See Also:
  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(BundleTask o)
      Specified by:
      compareTo in interface Comparable<BundleTask>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getRegion

      @Deprecated public String getRegion()
      Deprecated.
      To be removed in jclouds 1.6

      Warning

      Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
    • getBucket

      public String 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

      public String getPrefix()
      Returns:
      Specifies the beginning of the file name of the AMI.
    • getBundleId

      public String getBundleId()
      Returns:
      Identifier for this task.
    • getError

      public BundleTask.Error getError()
      Returns:
      If the task fails, a description of the error.
    • getInstanceId

      public String 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

      public Date getStartTime()
      Returns:
      The time this task started.
    • getState

      public String getState()
      Returns:
      The state of the task.
    • getUpdateTime

      public Date getUpdateTime()
      Returns:
      The time of the most recent update for the task.