|
|||||||
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
Describes a bundle task.
Constructor Summary | |
---|---|
BundleTask()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getBundleId()
The ID for this bundle task. |
BundleTaskError |
getBundleTaskError()
If the task fails, a description of the error. |
java.lang.String |
getInstanceId()
The ID of the instance associated with this bundle task. |
java.lang.String |
getProgress()
The level of task completion, as a percent (for example, 20%). |
java.util.Date |
getStartTime()
The time this task started. |
java.lang.String |
getState()
The state of the task. |
Storage |
getStorage()
The Amazon S3 storage locations. |
java.util.Date |
getUpdateTime()
The time of the most recent update for the task. |
int |
hashCode()
|
void |
setBundleId(java.lang.String bundleId)
The ID for this bundle task. |
void |
setBundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error. |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance associated with this bundle task. |
void |
setProgress(java.lang.String progress)
The level of task completion, as a percent (for example, 20%). |
void |
setStartTime(java.util.Date startTime)
The time this task started. |
void |
setState(BundleTaskState state)
The state of the task. |
void |
setState(java.lang.String state)
The state of the task. |
void |
setStorage(Storage storage)
The Amazon S3 storage locations. |
void |
setUpdateTime(java.util.Date updateTime)
The time of the most recent update for the task. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BundleTask |
withBundleId(java.lang.String bundleId)
The ID for this bundle task. |
BundleTask |
withBundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error. |
BundleTask |
withInstanceId(java.lang.String instanceId)
The ID of the instance associated with this bundle task. |
BundleTask |
withProgress(java.lang.String progress)
The level of task completion, as a percent (for example, 20%). |
BundleTask |
withStartTime(java.util.Date startTime)
The time this task started. |
BundleTask |
withState(BundleTaskState state)
The state of the task. |
BundleTask |
withState(java.lang.String state)
The state of the task. |
BundleTask |
withStorage(Storage storage)
The Amazon S3 storage locations. |
BundleTask |
withUpdateTime(java.util.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 java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance associated with this bundle task.public BundleTask withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance associated with this bundle task.
public java.lang.String getBundleId()
public void setBundleId(java.lang.String bundleId)
bundleId
- The ID for this bundle task.public BundleTask withBundleId(java.lang.String bundleId)
Returns a reference to this object so that method calls can be chained together.
bundleId
- The ID for this bundle task.
public java.lang.String getState()
Constraints:
Allowed Values: pending, waiting-for-shutdown, bundling, storing, cancelling, complete, failed
BundleTaskState
public void setState(java.lang.String state)
Constraints:
Allowed Values: pending, waiting-for-shutdown, bundling, storing, cancelling, complete, failed
state
- The state of the task.BundleTaskState
public BundleTask withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, waiting-for-shutdown, bundling, storing, cancelling, complete, failed
state
- The state of the task.
BundleTaskState
public void setState(BundleTaskState state)
Constraints:
Allowed Values: pending, waiting-for-shutdown, bundling, storing, cancelling, complete, failed
state
- The state of the task.BundleTaskState
public BundleTask withState(BundleTaskState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, waiting-for-shutdown, bundling, storing, cancelling, complete, failed
state
- The state of the task.
BundleTaskState
public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime
- The time this task started.public BundleTask withStartTime(java.util.Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time this task started.
public java.util.Date getUpdateTime()
public void setUpdateTime(java.util.Date updateTime)
updateTime
- The time of the most recent update for the task.public BundleTask withUpdateTime(java.util.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
- The Amazon S3 storage locations.public BundleTask withStorage(Storage storage)
Returns a reference to this object so that method calls can be chained together.
storage
- The Amazon S3 storage locations.
public java.lang.String getProgress()
public void setProgress(java.lang.String progress)
progress
- The level of task completion, as a percent (for example, 20%).public BundleTask withProgress(java.lang.String progress)
Returns a reference to this object so that method calls can be chained together.
progress
- The level of task completion, as a percent (for example, 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |