|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.BundleTask
public class BundleTask
Represents a task to bundle an EC2 Windows instance into a new image.
Constructor Summary | |
---|---|
BundleTask()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBundleId()
Unique identifier for this task. |
BundleTaskError |
getBundleTaskError()
If the task fails, a description of the error. |
String |
getInstanceId()
Instance associated with this bundle task. |
String |
getProgress()
The level of task completion, in percent (e.g., 20%). |
Date |
getStartTime()
The time this task started. |
String |
getState()
The state of this task. |
Storage |
getStorage()
Amazon S3 storage locations. |
Date |
getUpdateTime()
The time of the most recent update for the task. |
int |
hashCode()
|
void |
setBundleId(String bundleId)
Unique identifier for this task. |
void |
setBundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error. |
void |
setInstanceId(String instanceId)
Instance associated with this bundle task. |
void |
setProgress(String progress)
The level of task completion, in percent (e.g., 20%). |
void |
setStartTime(Date startTime)
The time this task started. |
void |
setState(String state)
The state of this task. |
void |
setStorage(Storage storage)
Amazon S3 storage locations. |
void |
setUpdateTime(Date updateTime)
The time of the most recent update for the task. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BundleTask |
withBundleId(String bundleId)
Unique identifier for this task. |
BundleTask |
withBundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error. |
BundleTask |
withInstanceId(String instanceId)
Instance associated with this bundle task. |
BundleTask |
withProgress(String progress)
The level of task completion, in percent (e.g., 20%). |
BundleTask |
withStartTime(Date startTime)
The time this task started. |
BundleTask |
withState(String state)
The state of this task. |
BundleTask |
withStorage(Storage storage)
Amazon S3 storage locations. |
BundleTask |
withUpdateTime(Date updateTime)
The time of the most recent update for the task. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BundleTask()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- Instance associated with this bundle task.public BundleTask withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- Instance associated with this bundle task.
public String getBundleId()
public void setBundleId(String bundleId)
bundleId
- Unique identifier for this task.public BundleTask withBundleId(String bundleId)
Returns a reference to this object so that method calls can be chained together.
bundleId
- Unique identifier for this task.
public String getState()
public void setState(String state)
state
- The state of this task.public BundleTask withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- The state of this task.
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time this task started.public BundleTask withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time this task started.
public Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime
- The time of the most recent update for the task.public BundleTask withUpdateTime(Date updateTime)
Returns a reference to this object so that method calls can be chained together.
updateTime
- The time of the most recent update for the task.
public Storage getStorage()
public void setStorage(Storage storage)
storage
- Amazon S3 storage locations.public BundleTask withStorage(Storage storage)
Returns a reference to this object so that method calls can be chained together.
storage
- Amazon S3 storage locations.
public String getProgress()
public void setProgress(String progress)
progress
- The level of task completion, in percent (e.g., 20%).public BundleTask withProgress(String progress)
Returns a reference to this object so that method calls can be chained together.
progress
- The level of task completion, in percent (e.g., 20%).
public BundleTaskError getBundleTaskError()
public void setBundleTaskError(BundleTaskError bundleTaskError)
bundleTaskError
- If the task fails, a description of the error.public BundleTask withBundleTaskError(BundleTaskError bundleTaskError)
Returns a reference to this object so that method calls can be chained together.
bundleTaskError
- If the task fails, a description of the error.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |