public class BundleTask
extends java.lang.Object
implements java.io.Serializable
Represents a task to bundle an EC2 Windows instance into a new image.
| コンストラクタと説明 |
|---|
BundleTask() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBundleId()
Unique identifier for this task.
|
BundleTaskError |
getBundleTaskError()
If the task fails, a description of the error.
|
java.lang.String |
getInstanceId()
Instance associated with this bundle task.
|
java.lang.String |
getProgress()
The level of task completion, in percent (e.g., 20%).
|
java.util.Date |
getStartTime()
The time this task started.
|
java.lang.String |
getState()
The state of this task.
|
Storage |
getStorage()
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)
Unique identifier for this task.
|
void |
setBundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error.
|
void |
setInstanceId(java.lang.String instanceId)
Instance associated with this bundle task.
|
void |
setProgress(java.lang.String progress)
The level of task completion, in percent (e.g., 20%).
|
void |
setStartTime(java.util.Date startTime)
The time this task started.
|
void |
setState(java.lang.String state)
The state of this task.
|
void |
setStorage(Storage storage)
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)
Unique identifier for this task.
|
BundleTask |
withBundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error.
|
BundleTask |
withInstanceId(java.lang.String instanceId)
Instance associated with this bundle task.
|
BundleTask |
withProgress(java.lang.String progress)
The level of task completion, in percent (e.g., 20%).
|
BundleTask |
withStartTime(java.util.Date startTime)
The time this task started.
|
BundleTask |
withState(java.lang.String state)
The state of this task.
|
BundleTask |
withStorage(Storage storage)
Amazon S3 storage locations.
|
BundleTask |
withUpdateTime(java.util.Date updateTime)
The time of the most recent update for the task.
|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - 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 - Instance associated with this bundle task.public java.lang.String getBundleId()
public void setBundleId(java.lang.String bundleId)
bundleId - Unique identifier for this task.public BundleTask withBundleId(java.lang.String bundleId)
Returns a reference to this object so that method calls can be chained together.
bundleId - Unique identifier for this task.public java.lang.String getState()
public void setState(java.lang.String state)
state - The state of this task.public BundleTask withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
state - The state of this task.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 - 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 java.lang.String getProgress()
public void setProgress(java.lang.String progress)
progress - The level of task completion, in percent (e.g., 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, 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object